Skip to content

Commit

Permalink
new order of menu entries
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Oct 29, 2017
1 parent 3316e93 commit d30bd28
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions conf/grub.cfg
Expand Up @@ -52,42 +52,40 @@ menuentry " +------------------------------------------------------+" {
menuentry "" {
set gfxpayload=$resolution
}

menuentry "Client standalone installation - select installation type from menu " {
set gfxpayload=$resolution
linux /boot/vmlinuz FAI_FLAGS="menu,verbose,createvt" FAI_ACTION=install FAI_CONFIG_SRC=file:///var/lib/fai/config rd.live.image root=live:CDLABEL=FAI_CD rd.neednet ip=dhcp quiet
initrd /boot/initrd.img
}


menuentry "FAI server installation - using external DHCP" {
set gfxpayload=$resolution
linux /boot/vmlinuz FAI_FLAGS="verbose,createvt" FAI_ACTION=install hostname=faiserver FAI_CONFIG_SRC=file:///var/lib/fai/config rd.live.image root=live:CDLABEL=FAI_CD rd.neednet ip=dhcp quiet
initrd /boot/initrd.img
}

menuentry "FAI server installation - using a fixed IP" {
set gfxpayload=$resolution
linux /boot/vmlinuz FAI_FLAGS="verbose,createvt" FAI_ACTION=install ip=192.168.33.250::192.168.33.1:255.255.255.0:faiserver:eth0:off FAI_CONFIG_SRC=file:///var/lib/fai/config rd.live.image root=live:CDLABEL=FAI_CD quiet
initrd /boot/initrd.img
}

menuentry "Rescue system, no installation" {
set gfxpayload=$resolution
linux /boot/vmlinuz FAI_FLAGS="verbose,createvt" FAI_ACTION=sysinfo FAI_CONFIG_SRC=file:///var/lib/fai/config rd.live.image root=live:CDLABEL=FAI_CD quiet
initrd /boot/initrd.img
}

menuentry "Boot OS from first partition on first disk" {
if [ -d (cd) ]; then
chainloader (hd0)+1
fi

if [ "$root" = "hd1" ]; then
chainloader (hd0)+1
fi

if [ "$root" = "hd0" ]; then
set root=(hd1)
chainloader (hd1)+1
fi
}

menuentry "Rescue system, no installation" {
set gfxpayload=$resolution
linux /boot/vmlinuz FAI_FLAGS="verbose,createvt" FAI_ACTION=sysinfo FAI_CONFIG_SRC=file:///var/lib/fai/config rd.live.image root=live:CDLABEL=FAI_CD quiet
initrd /boot/initrd.img
}

menuentry "FAI server installation - using external DHCP" {
set gfxpayload=$resolution
linux /boot/vmlinuz FAI_FLAGS="verbose,createvt" FAI_ACTION=install hostname=faiserver FAI_CONFIG_SRC=file:///var/lib/fai/config rd.live.image root=live:CDLABEL=FAI_CD rd.neednet ip=dhcp quiet
initrd /boot/initrd.img
}

menuentry "FAI server installation - using a fixed IP" {
set gfxpayload=$resolution
linux /boot/vmlinuz FAI_FLAGS="verbose,createvt" FAI_ACTION=install ip=192.168.33.250::192.168.33.1:255.255.255.0:faiserver:eth0:off FAI_CONFIG_SRC=file:///var/lib/fai/config rd.live.image root=live:CDLABEL=FAI_CD quiet
initrd /boot/initrd.img
}

0 comments on commit d30bd28

Please sign in to comment.