summaryrefslogtreecommitdiff
path: root/clusters/moonshot-m2-armv8b64.morph
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-07-16 11:09:21 +0100
committerBaserock Gerrit <gerrit@baserock.org>2015-07-19 20:20:21 +0000
commit2b9a378e7024dae98d16ce2de1468f65a095f309 (patch)
treeba118fba9a32ccdc7c3df67dde80d8c4b0373d83 /clusters/moonshot-m2-armv8b64.morph
parent7d3a901a14c1b3d6f636af9e60a5f84f5ad0777c (diff)
downloaddefinitions-2b9a378e7024dae98d16ce2de1468f65a095f309.tar.gz
Reformat all definitions according to a consistent style
This was done using the 'indent' tool, which uses a fork of PyYAML named 'ruamel.yaml' to rewrite YAML files without losing comments, ordering, or certain elements of formatting. My aim with doing this is to open the door to automated editing of the reference system definitions using the 'ruamel.yaml' library. This can be used to implement automated migration when we want to make changes to the YAML format that we use to represent Baserock system definitions. Although this looks drastic, remember that it's actually only altered 65 out of 608 .morph files -- the vast majority already pass unchanged through my version of ruamel.yaml. Change-Id: I95ec978714b5bd1c02c90183336a9fbb846cb692
Diffstat (limited to 'clusters/moonshot-m2-armv8b64.morph')
-rw-r--r--clusters/moonshot-m2-armv8b64.morph36
1 files changed, 18 insertions, 18 deletions
diff --git a/clusters/moonshot-m2-armv8b64.morph b/clusters/moonshot-m2-armv8b64.morph
index c6d62ca2..caa460c3 100644
--- a/clusters/moonshot-m2-armv8b64.morph
+++ b/clusters/moonshot-m2-armv8b64.morph
@@ -14,32 +14,32 @@ systems:
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
+ 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
PXEBOOT_REBOOT_COMMAND: |
- ssh Administrator@10.0.1.10 set node power off force c31n1
- ssh Administrator@10.0.1.10 set node boot m.2 c31n1
- ssh Administrator@10.0.1.10 set node power on c31n1
- ssh Administrator@10.0.1.10 set node power on c31n1
+ ssh Administrator@10.0.1.10 set node power off force c31n1
+ ssh Administrator@10.0.1.10 set node boot m.2 c31n1
+ ssh Administrator@10.0.1.10 set node power on c31n1
+ ssh Administrator@10.0.1.10 set node power on c31n1
INSTALLER_TARGET_STORAGE_DEVICE: /dev/sda
INSTALLER_ROOTFS_TO_INSTALL: /rootfs
INSTALLER_POST_INSTALL_COMMAND: |
- while : ; do
- echo "enter 'installed' in your deployment machine to finish the installation"
- sleep 2
- done
- INSTALLER_CREATE_BOOT_PARTITION: yes
+ while : ; do
+ echo "enter 'installed' in your deployment machine to finish the installation"
+ sleep 2
+ done
+ INSTALLER_CREATE_BOOT_PARTITION: true
HOSTNAME: installer-system-c31n1
DTB_PATH: boot/m400-1003.dtb
KERNEL_ARGS: console=ttyS0,9600n8r init=/usr/lib/baserock-installer/installer
INSTALL_FILES: install-files/moonshot/manifest
- MOONSHOT_KERNEL: yes
+ MOONSHOT_KERNEL: true
subsystems:
- morph: systems/devel-system-armv8b64.morph
deploy:
@@ -49,8 +49,8 @@ systems:
HOSTNAME: baserock-c31n1
DTB_PATH: boot/m400-1003.dtb
INSTALL_FILES: install-files/moonshot/manifest
- MOONSHOT_KERNEL: yes
+ MOONSHOT_KERNEL: true
BOOT_DEVICE: /dev/sda1
ROOT_DEVICE: /dev/sda2
BOOTLOADER_CONFIG_FORMAT: extlinux
- BOOTLOADER_INSTALL: "none"
+ BOOTLOADER_INSTALL: none