summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-03-05 13:19:00 (GMT)
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-03-06 16:50:51 (GMT)
commitafe15730cd216f762e98a665f873e1a359e05276 (patch)
treeb3be9e3a909dc259018fbe1e2a5c5425c2501874
parentef0bd1ea6f72a3a5a95a9c9b78a1bbcb56de0fe6 (diff)
downloaddefinitions-baserock/tiago-ed/m2-moonshot-deployment.tar.gz
moonshot-pxe-armv8l64.morph: add a reboot commandbaserock/tiago-ed/m2-moonshot-deployment
Also align some variables with the contents of the moonshot-m2-armv8l64 cluster morphology.
-rw-r--r--clusters/moonshot-pxe-armv8l64.morph16
1 files changed, 12 insertions, 4 deletions
diff --git a/clusters/moonshot-pxe-armv8l64.morph b/clusters/moonshot-pxe-armv8l64.morph
index 3286c72..9d2b99b 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