summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Cragg <edward.cragg@codethink.co.uk>2015-03-11 18:23:52 +0000
committerFrancisco Redondo <francisco.marchena@codethink.co.uk>2015-04-14 11:32:27 +0000
commit17b306dc661ed8199e26a55b8f90bed743933410 (patch)
tree28aae8822889de1ba699ff530756db6977a93c9b
parent7f400734b58019c4048ddd263d38a56c1a896900 (diff)
downloaddefinitions-17b306dc661ed8199e26a55b8f90bed743933410.tar.gz
Add definition for big-endian deployment to a Moonshot node (netboot)
Add a cluster definition to enable deployment of a big-endian system to an NFS/TFTP netboot server, from which a Moonshot node's U-Boot can "pxe" boot. Change-Id: I6654879d61b58aebdb83bf490d77d8d403d13155
-rw-r--r--clusters/moonshot-pxe-armv8b64.morph30
1 files changed, 30 insertions, 0 deletions
diff --git a/clusters/moonshot-pxe-armv8b64.morph b/clusters/moonshot-pxe-armv8b64.morph
new file mode 100644
index 00000000..2d32efb0
--- /dev/null
+++ b/clusters/moonshot-pxe-armv8b64.morph
@@ -0,0 +1,30 @@
+name: moonshot-m400-armv8b64-netboot
+kind: cluster
+description: |
+ Deploy a big-endian armv8b64 devel system onto an HP Moonshot node
+
+ The system will be configured to boot through PXE from existing DHCP,
+ TFTP and NFS servers.
+systems:
+- morph: systems/devel-system-armv8b64.morph
+ deploy:
+ netboot:
+ type: pxeboot
+ location: 14:58:d0:57:7f:42
+ 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/
+ 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
+ KERNEL_ARGS: console=ttyS0,9600n8r rw
+ INSTALL_FILES: moonshot/manifest
+ MOONSHOT_KERNEL: yes