diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-05-23 14:59:24 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-05-23 14:59:24 +0100 |
commit | 9b874110e45b9af3a3bb0a7481bec8918a1c3adb (patch) | |
tree | a619d13d5c3e0913a41c54d352049d7d2efa1385 /old/clusters/hardware-deployment.morph | |
parent | 63224e2233280204626b58fcbe5224d3582c8627 (diff) | |
download | definitions-9b874110e45b9af3a3bb0a7481bec8918a1c3adb.tar.gz |
Move existing Baserock definitions into old/ subdirectory
This will be removed in due course.
Diffstat (limited to 'old/clusters/hardware-deployment.morph')
-rw-r--r-- | old/clusters/hardware-deployment.morph | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/old/clusters/hardware-deployment.morph b/old/clusters/hardware-deployment.morph new file mode 100644 index 00000000..674d6587 --- /dev/null +++ b/old/clusters/hardware-deployment.morph @@ -0,0 +1,35 @@ +name: hardware-deployment +kind: cluster +description: | + Deploy a build-system into hardware using the combination + of the pxeboot.write extension and the installer system. + This examples uses the spawn-novlan mode of pxeboot.write. +systems: +- morph: systems/installer-system-x86_64.morph + deploy: + installer: + type: extensions/pxeboot + location: AB:CD:EF:12:34:56:78 #MAC address. + PXEBOOT_MODE: spawn-novlan + PXEBOOT_DEPLOYER_INTERFACE: ens6 + KERNEL_ARGS: console=ttyS1,9600 console=tty0 init=/usr/lib/baserock-installer/installer + HOSTNAME: installer-system + IPMI_USER: myipmiuser + IPMI_PASSWORD: myipmipassword + IPMI_HOST: 123.34.45.120 #IPMI ip address + INSTALLER_TARGET_STORAGE_DEVICE: /dev/sda + INSTALLER_ROOTFS_TO_INSTALL: /rootfs + subsystems: + - morph: systems/build-system-x86_64.morph + deploy: + to-install: + type: extensions/sysroot + location: /rootfs + INITRAMFS_PATH: boot/initramfs.gz + KERNEL_ARGS: console=ttyS1,9600 console=tty0 + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + initramfs: + type: extensions/initramfs + location: boot/initramfs.gz |