This is actually really simple to accomplish.
In the file that you found (/var/www/fog/lib/fog/BootMenu.class.php:
Look for the four lines:
[php] else if ($_REQUEST[‘qihost’] && !$_REQUEST[‘imageID’])
$this->setTasking();
else if ($_REQUEST[‘qihost’] && $_REQUEST[‘imageID’])
$this->setTasking($_REQUEST[‘imageID’]);[/php
They are at about line numbers: 655 thru 658
Place the lines in the else statement at line 677? right after the curly brack. Remove the first else in the statement so it’ll look like:
[php] if ($_REQUEST[‘qihost’] && !$_REQUEST[‘imageID’])
$this->setTasking();
else if ($_REQUEST[‘qihost’] && $_REQUEST[‘imageID’])
$this->setTasking($_REQUEST[‘imageID’]);[/php]
This won’t, by itself, keep the system from requesting a username and password, but all you should have to do is press enter.
With that you still have to select which image (if host has image already, it defaults to point at that hosts image, but you can choose any you please.)
An even better method would be to just remove the:
[code]login[/code]
from the fog.quickimage database entry.
Replace the lines
[code]param username ${username}
param password ${password}[/code]
With something like:
[code]param username fogusername
param password fogpassword[/code]
In the fog.quickimage database entry.
This should keep it from asking about a username and password as well as allow BootMenu.class.php to remain un touched.
I’ve decided, based on the multiple people wanting to customize the main boot items directly even, to re-enable editing so you can do this from the GUI now as well. So you don’t have to edit a file and you can make your changes
as needed.