summaryrefslogtreecommitdiff
path: root/clusters/moonshot-pxe-armv8b64.morph
blob: ffee0392afbf6b819cb3a3e7092345df232888e9 (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
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: extensions/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: install-files/moonshot/manifest
      MOONSHOT_KERNEL: yes