From afe15730cd216f762e98a665f873e1a359e05276 Mon Sep 17 00:00:00 2001 From: Tiago Gomes Date: Thu, 5 Mar 2015 13:19:00 +0000 Subject: moonshot-pxe-armv8l64.morph: add a reboot command Also align some variables with the contents of the moonshot-m2-armv8l64 cluster morphology. --- clusters/moonshot-pxe-armv8l64.morph | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/clusters/moonshot-pxe-armv8l64.morph b/clusters/moonshot-pxe-armv8l64.morph index 3286c72e..9d2b99bc 100644 --- a/clusters/moonshot-pxe-armv8l64.morph +++ b/clusters/moonshot-pxe-armv8l64.morph @@ -14,9 +14,17 @@ systems: PXEBOOT_MODE: existing-server PXEBOOT_CONFIG_TFTP_ADDRESS: sftp://192.168.0.1/srv/nfsboot/tftp/ PXEBOOT_ROOTFS_RSYNC_ADDRESS: rsync://192.168.0.1/srv/nfsboot/ - KERNEL_ARGS: console=ttyS0,9600n8r rw + PXEBOOT_PXE_REBOOT_COMMAND: | + ssh Administrator@10.0.1.10 set node power off force c31n1 + ssh Administrator@10.0.1.10 set node boot pxe c31n1 + # Nodes are powered on twice as sometimes powering them on + # once is not enough + ssh Administrator@10.0.1.10 set node power on c31n1 + ssh Administrator@10.0.1.10 set node power on c31n1 + PXE_INSTALLER: no + + HOSTNAME: baserock-c31n1 DTB_PATH: boot/m400-1003.dtb - HOSTNAME: baserock-m400-node31 - MOONSHOT_KERNEL: yes + KERNEL_ARGS: console=ttyS0,9600n8r rw INSTALL_FILES: moonshot/manifest - PXE_INSTALLER: no + MOONSHOT_KERNEL: yes -- cgit v1.2.1