Login When Deploying Image
-
How would you turn off the login page for when you do a deploy image?
-
This thread talks about it: https://forums.fogproject.org/topic/9416/store-a-login-account-in-a-ipxe-menu/7
So basically what you want to do is go into the fog configuration and then on the left ipxe menu configuration. From there you want to edit the Deploy Image menu item and add in the 4 lines from the linked post. You will change your user ID and password to match the correct values.
-
@george1421
Ok so lets say the username and password for it are the default fog and password. Is this right for fog.deployimage parameters:login params param mac0 ${net0/mac} param arch ${arch} set username fog set password password param username ${username} param password ${password} param qihost 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
-
@imagingmaster21 I have not personally set it up (we need passwords to keep people honest). But that is the way to make it work. I think if it was me I might create a new user account that is for deployment only i.e. “Mobile/Quick Image Access Only?” and uncheck API. That way the uid can’t be hacked easily to grant the hacker full access to the fog webui.
-
@george1421
I set mine up on a private network segment. But I tried it out after changing that code and it is working! -
@imagingmaster21 Issue resolved then?
-
yes!