X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=grub.cfg.autodiscover;h=9103e45ab1c928d677580373ffdf65cd804eb668;hp=6ed3a287a27078266bc0ae4c80fbf51b8facd898;hb=ee37d990c89bb3bab1b54e3b3fb43e9f79ed039b;hpb=45578de750fb07f7a7f64181e6b3b749ef727725 diff --git a/grub.cfg.autodiscover b/grub.cfg.autodiscover index 6ed3a28..9103e45 100644 --- a/grub.cfg.autodiscover +++ b/grub.cfg.autodiscover @@ -57,17 +57,18 @@ menuentry "" --unrestricted { # ian: Added this from fai # note, we could replace faiserver with an ip if we didn't want to mess with dns. -# args are copied from myfai-chboot-local +# args are copied from myfai-chboot-local. +# Note, for a real cd or usb flash, we probably do not want reboot, so we can remove the disk +# after install is done menuentry "FAI server via dns" { set gfxpayload=$resolution - linux /boot/vmlinuz FAI_FLAGS=verbose,sshd,createvt FAI_CONFIG_SRC=nfs://faiserver/srv/fai/config root=/dev/nfs rw nfsroot=faiserver:/srv/fai/nfsroot,vers=3,nolock aufs rootovl ip=dhcp FAI_FLAGS=verbose,sshd,createvt + linux /boot/vmlinuz FAI_FLAGS=verbose,sshd,createvt,reboot FAI_CONFIG_SRC=nfs://faiserver/srv/fai/config root=/dev/nfs rw nfsroot=faiserver:/srv/fai/nfsroot,vers=3,nolock aufs rootovl ip=dhcp FAI_FLAGS=verbose,sshd,createvt initrd /boot/initrd.img } - menuentry "Autodiscover the FAI server" { set gfxpayload=$resolution - linux /boot/vmlinuz FAI_FLAGS="menu,verbose,createvt" fai.discover aufs rootovl root=/dev/nfs ip=dhcp quiet + linux /boot/vmlinuz FAI_FLAGS="menu,verbose,createvt,reboot" fai.discover aufs rootovl root=/dev/nfs ip=dhcp quiet initrd /boot/initrd.img }