]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
pxe_riserver_setup: reboot after installation, use serial console for output
authorHolger Levsen <holger@layer-acht.org>
Wed, 20 Feb 2013 10:35:38 +0000 (11:35 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 20 Feb 2013 10:35:38 +0000 (11:35 +0100)
pxe_riserver_setup.sh

index 1b46cd3c76f52a217fbcb907d8ec0de3b892eadc..94b4c2d50ef32447222a909b82bc6ef59297153a 100755 (executable)
@@ -42,12 +42,12 @@ LOCALBOOT 0
 LABEL sysinfo
 MENU LABEL sysinfo
 KERNEL fai/vmlinuz-install
-APPEND initrd=fai/initrd.img root=/dev/nfs nfsroot=/srv/fai/nfsroot boot=live live-netdev=$TARGET_DEV FAI_ACTION=sysinfo FAI_FLAGS=verbose,sshd,createvt
+APPEND initrd=fai/initrd.img root=/dev/nfs nfsroot=/srv/fai/nfsroot boot=live live-netdev=$TARGET_DEV FAI_ACTION=sysinfo FAI_FLAGS=verbose,sshd,createvt,reboot console=ttyS0
 
 LABEL install
 MENU LABEL install
 KERNEL fai/vmlinuz-install
-APPEND initrd=fai/initrd.img root=/dev/nfs nfsroot=/srv/fai/nfsroot boot=live live-netdev=$TARGET_DEV FAI_ACTION=install FAI_FLAGS=verbose,sshd,createvt hostname=$TARGET_HOST
+APPEND initrd=fai/initrd.img root=/dev/nfs nfsroot=/srv/fai/nfsroot boot=live live-netdev=$TARGET_DEV FAI_ACTION=install FAI_FLAGS=verbose,sshd,createvt,reboot console=ttyS0 hostname=$TARGET_HOST
 EOF
 
 cat $TMPFILE