blob: 674d6587a6998ddb1a16c5672984605a95532f6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
|