Fog deployment with command line
-
Hello,
Do you know if it’s possible to deploy an image with a command line on the server ? In order to deploy on the client pc after it reboot
Thanks in advance
Regards
-
Why would you need to do this instead of using the web interface to set a task for the client??
-
it’s for a school project. I need to secure the déployment with a usb key system security. The USB part is okay, and with that kind of system the deployment need to be launched by the server
-
0.33b has a login for security on the client now.
-
Yeah, but I must use a USB system for the security, it’s that want my teacher, but it’s not the problem, the only problem I meet, is how or can I launch a deployment with a command line or a script on the server side
-
if you could put the stuff that is PXE booted onto the stick… then you could use the auth built into 0.33b and all the scripts are there.
-
Have a look at my post here, it may be what you want
[url]http://fogproject.org/forum/threads/latest-fog-0-33b.6476/page-59#post-24274[/url] -
[quote=“VincentJ, post: 24758, member: 8935”]if you could put the stuff that is PXE booted onto the stick… then you could use the auth built into 0.33b and all the scripts are there.[/quote]
Yeah I already do it, and it works, but my teacher said he want that the stick must be empty
-
so you want to boot an empty USB stick?
-
no x) ,
In fact, i’ll boot on the network then, i’ll deploy in ram a linux kernel with an initramfs.
Then with my kernel and busybox I retrive the serial number of the USB stick and I send it to the server to compare it.
Each SN corresponds to an OS. the SN will tell which OS will be deployed. So that part is done. but in order to deploy the OS I need to tell FOG to deploy that OS. But I don’t know how I can do it without the web interface or the PXE menu
But I also though to do post request on php files