Veeam Webinar with Doug Hazelman: 5 Steps to Successful Backup & Replication for Hyper-V! Watch it now

Build A Better Cloud With StratoGen VMware Hosting

 

Little tip for UDA 2.0 beta users

7 July, 2009

When playing with the new UDA 2.0 beta, I was missing a very important feature: After the PXE boot menu is displayed, you can’t end or skip the menu and continue booting from local harddisk. I e-mailed with Mike Laverick, who got my into contact with Carl Thijssen, the developer of the UDA 2.0. Carl tipped me to edit the following file: /var/public/cgi-bin/config.pl on the appliance. The result wasn’t exactly what I was looking for, but after some editing I came to this change.

1- Edit /var/public/cgi-bin/config.pl

2- Search for the subroutine WriteDefaultFile.

3- Behind the following part:

local($result)=open(DEFAULT,”>$DEFAULTFILE”);
print DEFAULT “default menu.c32\n”;
print DEFAULT “prompt 0\n”;
print DEFAULT “menu title Ultimate Deployment Appliance\n”;
print DEFAULT “menu INCLUDE pxelinux.cfg/graphics.conf\n”;
Add:
print DEFAULT “label localboot\n”;
print DEFAULT “MENU LABEL Boot from first local harddrive\n”;
print DEFAULT “localboot 0\n”;
print DEFAULT “timeout 120\n”;
4- Save the file
5- Go to the webinterface of the UDA and re-save any template
Now when you boot a server over PXE, you will be prompted with a menu which now also includes a countdown timer. After the countdown is finished, normal boot will proceed.
  • steven715

    Hello there Gabes i am new to UDA 2.0 I have tryed out the 1.4. How can i edit the config.pl ? as there is somethings that i want to add to the boot menu and make it like my old one. I am Compleatley New to Coral so please bare with me. But thank you for posing this on the net as it is very usefull. UDA is an execlent PXE Server from what i can see so far. Thank you for your help kind regards Steve.

  • http://www.GabesVirtualWorld.com Gabrie van Zanten

    Just make a ssh session and edit the config file using an editor like
    vi.

    Gabrie

  • steven715

    oh right ok how do i make a ssh session? Thank you for the very quick reply. i will try vi. Thanks again.

  • http://www.GabesVirtualWorld.com Gabrie van Zanten

    Download putty and from your windows system run it and connect to the
    ip of the uda

  • steven715

    Hello there Gabes i am new to UDA 2.0 I have tryed out the 1.4. How can i edit the config.pl ? as there is somethings that i want to add to the boot menu and make it like my old one. I am Compleatley New to Coral so please bare with me. But thank you for posing this on the net as it is very usefull. UDA is an execlent PXE Server from what i can see so far. Thank you for your help kind regards Steve.

  • http://www.GabesVirtualWorld.com Gabrie van Zanten

    Just make a ssh session and edit the config file using an editor like
    vi.

    Gabrie

  • steven715

    oh right ok how do i make a ssh session? Thank you for the very quick reply. i will try vi. Thanks again.

  • http://www.GabesVirtualWorld.com Gabrie van Zanten

    Download putty and from your windows system run it and connect to the
    ip of the uda

  • steven715

    Hello there Gabes Thank you very much for your help i was able to do exactley as i wanted i also found anouther tool called WinSCP this allows you to look through UDA remotley and it's easy to send and recive files through. Thank you once again. Kindest Regards Steve

  • steven715

    Hello there Gabes Thank you very much for your help i was able to do exactley as i wanted i also found anouther tool called WinSCP this allows you to look through UDA remotley and it's easy to send and recive files through. Thank you once again. Kindest Regards Steve

  • Pingback: Ultimate Deployment Appliance (UDA) 2.0 | Arnim van Lieshout

  • level67

    Hi Gabe,

    Just what I was looking for, but it appears the config files have changed in the beta since you wrote this.

    Any chance you have the changes for the latest beta of UDA?

  • level67

    Hi Gabe,

    Just what I was looking for, but it appears the config files have changed in the beta since you wrote this.

    Any chance you have the changes for the latest beta of UDA?