Thanks for your answer.
I suggest to reserve /bin/bash to Linux or Mac. Then when booting on Windows, the client could just ignore it (keeping it in queue) because it’s bash.
I have an image containing Ubuntu and Windows. Grub allows to choose which OS to boot.
I would like to know what is expected when I assign a snapin to a host configured with that types of images.
I want to install google-chrome on Ubuntu. Once the snapin is assigned to the host, unfortunately, the user boot to Windows first. Will the snapin be ignored until a reboot to Ubuntu or will it be discarded and never executed anywhere ?
Thanks in advance.
I’am trying to use the FOG API. I found some doc here : https://news.fogproject.org/simplified-api-documentation/. Is it the last version ?
Following instructions I tried to get system status by typing the command :
$ curl -i -H 'fog-api-token: <token>' -u fog:password fog-master/fog/system/status
The API is enabled in the UI. I also tried with the “fog-user-token” but nothing works, I always get:
HTTP/1.1 401 Unauthorized Date: Wed, 18 Mar 2020 16:09:29 GMT Server: Apache/2.4.29 (Ubuntu) X-Frame-Options: sameorigin X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff Strict-Transport-Security: max-age=31536000 Content-Security-Policy: default-src 'none';script-src 'self' 'unsafe-eval';connect-src 'self';img-src 'self' data:;style-src 'self' 'unsafe-inline';font-src 'self'; Access-Control-Allow-Origin: * Content-Length: 0 Connection: close Content-Type: application/json
Can someone help me ? Thanks