Hi all,
We’re building out a new fog server, running 1.4.4. Much has changed since 0.32. I would like to prompt for a username and password immediately after the selection of “Preform Full Host Registration and Inventory”, similarly to Quick Host Deletion or Deploy Image. I don’t want to give users the ability to add or register a host with fog before auth.
Looking at the config Fog menu Configuration page I see “fog.reginput” does not pass parameters like “fog.deployimage”
I tried just guessing with the code below, but manreg does not work.
login
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param manreg 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
According to the bootmenu.class.php file code there is not a parameter for this menu selection only advLog, delhost, keyreg, qihost, sessionJoin, approveHost, menuaccess, debugAccess
I am aware this menu selection will prompt for a username and password, but this only happens after the registration questions are asked. (I can modify fog.man.reg to move authentication code in the bash, but would like to keep this consistent with all other menu items)
Any suggestions?
Thanks!