multi install

linux-service.be bvba guy at linux-service.be
Sun Jan 15 16:02:33 CET 2012


i have a default pxe menu as below.How can i arrange that when the user select a menu item , the choosed 
distro is installed?


default menu.c32
menu color tabmsg 37;40      #80ffffff #00000000
menu color hotsel 30;47      #40000000 #20ffffff
menu color sel 30;47      #40000000 #20ffffff
menu color scrollbar 30;47      #40000000 #20ffffff
MENU WIDTH 80
MENU MARGIN 10
MENU PASSWORDMARGIN 3
MENU ROWS 12
MENU TABMSGROW 18
MENU CMDLINEROW 18
MENU ENDROW 24
MENU PASSWORDROW 11
MENU TIMEOUTROW 20
TIMEOUT 100
ALLOWOPTIONS 1

MENU TITLE PXE Boot Menu

LABEL install
menu label Ubuntu Install
menu default
kernel vmlinuz-2.6.32-5-amd64
append initrd=initrd.img-2.6.32-5-amd64 ip=dhcp  root=/dev/nfs nfsroot=/srv/fai/nfsroot boot=live  
FAI_FLAGS=verbose,sshd,reboot FAI_ACTION=install SERVER=fai 
LABEL install
menu label Kubuntu Install
kernel vmlinuz-2.6.32-5-amd64
append initrd=initrd.img-2.6.32-5-amd64 ip=dhcp  root=/dev/nfs nfsroot=/srv/fai/nfsroot boot=live  
FAI_FLAGS=verbose,sshd,reboot FAI_ACTION=install SERVER=fai
LABEL install
menu label Xubuntu Install
kernel vmlinuz-2.6.32-5-amd64
append initrd=initrd.img-2.6.32-5-amd64 ip=dhcp  root=/dev/nfs nfsroot=/srv/fai/nfsroot boot=live  
FAI_FLAGS=verbose,sshd,reboot FAI_ACTION=install SERVER=fai
LABEL install
menu label Edubuntu Install
kernel vmlinuz-2.6.32-5-amd64
append initrd=initrd.img-2.6.32-5-amd64 ip=dhcp  root=/dev/nfs nfsroot=/srv/fai/nfsroot boot=live  
FAI_FLAGS=verbose,sshd,reboot FAI_ACTION=install SERVER=fai



LABEL local
        menu label ^Boot local harddisk
        localboot 0


More information about the linux-fai mailing list