diff options
author | pmikus <peter.mikus@protonmail.ch> | 2023-09-08 11:37:58 +0000 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2023-09-08 11:44:27 +0000 |
commit | 33531d45822980cb9a0714a7e501c2c329ed80a4 (patch) | |
tree | 380aa16eb18ec6609e1ac97a92251ad5bc649fda | |
parent | a98a58f74a4e820ffaea61e986eb3d39acdc8fd3 (diff) |
feat(infra): SPR backend
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: If48902729a8c13b83c97170c12fc43bac624212c
19 files changed, 514 insertions, 16 deletions
diff --git a/docs/content/infrastructure/fdio_dc_vexxhost_inventory.md b/docs/content/infrastructure/fdio_dc_vexxhost_inventory.md index a3e6d7538a..f11ed37f6f 100644 --- a/docs/content/infrastructure/fdio_dc_vexxhost_inventory.md +++ b/docs/content/infrastructure/fdio_dc_vexxhost_inventory.md @@ -88,13 +88,13 @@ Captured inventory data: yul1-11-lf-tor-switch | up | switch | uplink | ? | ? | ? | ? | 3016.11 | u47 mtl1-6-7050QX-32 | up | switch | uplink | ? | ? | ? | ? | 3016.11 | u46 fdio-marvell-dev | up | N/A | dev | ThunderX-88XX | N/A | 10.30.51.38 | 10.30.50.38 | 3016.11 | u45 - s21-nomad | up | nomad | nomad-client | SYS-741GE-TNRT | ?? | 10.30.51.21 | 10.30.50.21 | 3016.11 | u41-u44 - s22-nomad | up | nomad | nomad-client | SYS-741GE-TNRT | ?? | 10.30.51.22 | 10.30.50.22 | 3016.11 | u37-u40 + s21-nomad | up | nomad | nomad-client | SYS-741GE-TNRT | C7490FL47A50150 | 10.30.51.21 | 10.30.50.21 | 3016.11 | u39-u42 + s22-nomad | up | nomad | nomad-client | SYS-741GE-TNRT | C7490FL47A50155 | 10.30.51.22 | 10.30.50.22 | 3016.11 | u35-u38 s78-t38-sut1 | up | t38 | 3n-icx | SYS-740GP-TNRT | C7470KL03P50450 | 10.30.51.78 | 10.30.50.78 | 3016.11 | u31-u34 s79-t38-sut2 | up | t38 | 3n-icx | SYS-740GP-TNRT | C7470KL07P50297 | 10.30.51.79 | 10.30.50.79 | 3016.11 | u27-u30 s80-t38-tg1 | up | t38 | 3n-icx | SYS-740GP-TNRT | C7470KL03P50454 | 10.30.51.80 | 10.30.50.80 | 3016.11 | u23-u26 - s30-t15-sut1 | up | nomad | nomad-client | SYS-741GE-TNRT | ?? | 10.30.51.30 | 10.30.50.30 | 3016.11 | u19-u22 - s31-t16-sut1 | up | nomad | nomad-client | SYS-741GE-TNRT | ?? | 10.30.51.31 | 10.30.50.31 | 3016.11 | u15-u18 + s30-t15-sut1 | up | nomad | nomad-client | SYS-741GE-TNRT | C7490FL47A50154 | 10.30.51.30 | 10.30.50.30 | 3016.11 | u19-u22 + s31-t16-sut1 | up | nomad | nomad-client | SYS-741GE-TNRT | C7490FL47A50149 | 10.30.51.31 | 10.30.50.31 | 3016.11 | u15-u18 s56-t14-sut1 | up | t14 | 1n-tx2 | ThunderX2-9980 | N/A | 10.30.51.71 | 10.30.50.71 | 3016.11 | u13-u14 s55-t13-sut1 | up | t13 | 1n-tx2 | ThunderX2-9980 | N/A | 10.30.51.70 | 10.30.50.70 | 3016.11 | u11-u12 s62-t34-sut1 | up | t34 | 3n-alt | WIWYNN | 04000059N0SC | 10.30.51.72 | 10.30.50.72 | 3016.11 | u9-u10 @@ -121,4 +121,4 @@ Captured inventory data: s35-t28-sut1 | up | t28 | 2n-clx | SYS-7049GP-TRT | C7470KH37A30509 | 10.32.8.20 | 10.30.55.20 | 3016.12 | u14-u17 s36-t28-tg1 | up | t28 | 2n-clx | SYS-7049GP-TRT | C7470KH37A30511 | 10.32.8.21 | 10.30.55.21 | 3016.12 | u10-u13 s37-t29-sut1 | up | t29 | 2n-clx | SYS-7049GP-TRT | C7470KH37A30566 | 10.32.8.22 | 10.30.55.22 | 3016.12 | u6-u9 - s38-t29-tg1 | up | t29 | 2n-clx | SYS-7049GP-TRT | C7470KH37A30506 | 10.32.8.23 | 10.30.55.23 | 3016.12 | u2-u5
\ No newline at end of file + s38-t29-tg1 | up | t29 | 2n-clx | SYS-7049GP-TRT | C7470KH37A30506 | 10.32.8.23 | 10.30.55.23 | 3016.12 | u2-u5 diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml index 8c2e764f11..a02d6234d8 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml @@ -63,7 +63,7 @@ nomad_servers: # Consul settigs. nomad_use_consul: true consul_certificates: - - src: "{{ file_consul_agent_ca_pem }}" + - src: "{{ file_consul_ca_pem }}" dest: "{{ consul_ca_file }}" - src: "{{ file_consul_server_0_pem }}" dest: "{{ consul_cert_file }}" diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.31.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.31.yaml index 51d7236d81..606bb47755 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.31.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.31.yaml @@ -63,7 +63,7 @@ nomad_servers: # Consul settigs. nomad_use_consul: true consul_certificates: - - src: "{{ file_consul_agent_ca_pem }}" + - src: "{{ file_consul_ca_pem }}" dest: "{{ consul_ca_file }}" - src: "{{ file_consul_server_0_pem }}" dest: "{{ consul_cert_file }}" diff --git a/fdio.infra.ansible/roles/consul/tasks/main.yaml b/fdio.infra.ansible/roles/consul/tasks/main.yaml index 69678f9739..6dd430754b 100644 --- a/fdio.infra.ansible/roles/consul/tasks/main.yaml +++ b/fdio.infra.ansible/roles/consul/tasks/main.yaml @@ -80,6 +80,8 @@ group: "{{ consul_group }}" mode: 0755 with_items: + - "{{ consul_config_dir }}" + - "{{ consul_ssl_dir }}" - "{{ consul_data_dir }}" - "{{ nomad_config_dir }}" - "{{ nomad_ssl_dir }}" diff --git a/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh b/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh index 25a9f5d9d9..7be48380e7 100644 --- a/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh +++ b/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-spr.sh @@ -22,5 +22,5 @@ PCI_WHITELIST+=($(lspci -Dmmd ':1592:0200' | cut -f1 -d' ')) declare -A PF_INDICES # Intel NICs -PF_INDICES["0000:86:00.0"]=0 -PF_INDICES["0000:af:00.0"]=0 +PF_INDICES["0000:2a:00.0"]=0 +PF_INDICES["0000:3d:00.0"]=0 diff --git a/fdio.infra.ansible/vpp_device.yaml b/fdio.infra.ansible/vpp_device.yaml index dfd0434336..21676811c7 100644 --- a/fdio.infra.ansible/vpp_device.yaml +++ b/fdio.infra.ansible/vpp_device.yaml @@ -18,8 +18,8 @@ tags: baremetal - role: common tags: common - - role: kernel - tags: kernel +# - role: kernel +# tags: kernel - role: intel tags: intel - role: docker diff --git a/fdio.infra/pxe/docker-dnsmasq/etc/dnsmasq.conf b/fdio.infra/pxe/docker-dnsmasq/etc/dnsmasq.conf index 562a59a1b1..eae5a074b4 100755 --- a/fdio.infra/pxe/docker-dnsmasq/etc/dnsmasq.conf +++ b/fdio.infra/pxe/docker-dnsmasq/etc/dnsmasq.conf @@ -37,16 +37,16 @@ dhcp-option=yul1_2,option:dns-server,1.1.1.1 dhcp-option=yul1_2,option:dns-server,8.8.8.8 # Hosts DHCP settings yul1_1 subnet. -dhcp-host=?,10.30.51.21,s21-nomad,infinite # eno1 -dhcp-host=?,10.30.51.22,s22-nomad,infinite # eno1 +dhcp-host=7c:c2:55:55:c0:74,10.30.51.21,s21-nomad,infinite # eno1 +dhcp-host=7c:c2:55:55:c0:7a,10.30.51.22,s22-nomad,infinite # eno1 dhcp-host=ac:1f:6b:5a:6a:d4,10.30.51.23,s23-nomad,infinite # eno1 dhcp-host=ac:1f:6b:5a:6a:b4,10.30.51.24,s24-nomad,infinite # eno1 dhcp-host=ac:1f:6b:5a:6b:08,10.30.51.25,s25-nomad,infinite # eno1 dhcp-host=ac:1f:6b:ac:d9:2e,10.30.51.26,s26-nomad,infinite # eno1 dhcp-host=ac:1f:6b:8b:55:d8,10.30.51.27,s27-nomad,infinite # eno1 dhcp-host=ac:1f:6b:8a:8d:0a,10.30.51.28,s28-nomad,infinite # eno1 -dhcp-host=?,10.30.51.30,s30-t15-sut1,infinite # eno1 -dhcp-host=?,10.30.51.31,s31-t16-sut1,infinite # eno1 +dhcp-host=7c:c2:55:55:c0:78,10.30.51.30,s30-t15-sut1,infinite # eno1 +dhcp-host=7c:c2:55:55:c0:6c,10.30.51.31,s31-t16-sut1,infinite # eno1 dhcp-host=a0:a3:3b:c1:14:28,10.30.51.36,s17-t33-sut1,infinite # enahisic2i0 dhcp-host=a0:a3:3b:c1:12:fa,10.30.51.37,s18-t33-sut2,infinite # enahisic2i0 dhcp-host=40:8d:5c:e7:b2:6e,10.30.51.38,fdio-marvell-dev,infinite # enP2p1s0v0 @@ -95,4 +95,4 @@ dhcp-host=ac:1f:6b:ac:d7:56,10.32.8.21,s36-t28-tg1,infinite # eno1 dhcp-host=ac:1f:6b:ac:d7:ba,10.32.8.22,s37-t29-sut1,infinite # eno1 dhcp-host=ac:1f:6b:ac:d7:76,10.32.8.23,s38-t29-tg1,infinite # eno1 dhcp-host=3c:ec:ef:43:a3:ba,10.32.8.24,s60-t210-sut1,infinite # eno1np0 -dhcp-host=3c:ec:ef:46:34:e8,10.32.8.25,s61-t210-tg1,infinite # eno1np0
\ No newline at end of file +dhcp-host=3c:ec:ef:46:34:e8,10.32.8.25,s61-t210-tg1,infinite # eno1np0 diff --git a/fdio.infra/pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-7c:c2:55:55:c0:6c b/fdio.infra/pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-7c:c2:55:55:c0:6c new file mode 100644 index 0000000000..1b54833665 --- /dev/null +++ b/fdio.infra/pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-7c:c2:55:55:c0:6c @@ -0,0 +1,4 @@ +menuentry "Install s31-t16-sut1" { + linux /casper/ubuntu-jammy-amd64/vmlinuz ip=:::::eno1:dhcp url=https://old-releases.ubuntu.com/releases/jammy/ubuntu-22.04.1-live-server-amd64.iso autoinstall ds=nocloud-net\;s=http://10.30.51.24:8081/ubuntu_jammy_amd64/7c:c2:55:55:c0:6c/ --- + initrd /casper/ubuntu-jammy-amd64/initrd +} diff --git a/fdio.infra/pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-7c:c2:55:55:c0:74 b/fdio.infra/pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-7c:c2:55:55:c0:74 new file mode 100644 index 0000000000..4674cf1f4e --- /dev/null +++ b/fdio.infra/pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-7c:c2:55:55:c0:74 @@ -0,0 +1,4 @@ +menuentry "Install s21-nomad" { + linux /casper/ubuntu-jammy-amd64/vmlinuz ip=:::::eno1:dhcp url=https://old-releases.ubuntu.com/releases/jammy/ubuntu-22.04.1-live-server-amd64.iso autoinstall ds=nocloud-net\;s=http://10.30.51.24:8081/ubuntu_jammy_amd64/7c:c2:55:55:c0:74/ --- + initrd /casper/ubuntu-jammy-amd64/initrd +} diff --git a/fdio.infra/pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-7c:c2:55:55:c0:78 b/fdio.infra/pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-7c:c2:55:55:c0:78 new file mode 100644 index 0000000000..20a069fecf --- /dev/null +++ b/fdio.infra/pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-7c:c2:55:55:c0:78 @@ -0,0 +1,4 @@ +menuentry "Install s30-t15-sut1" { + linux /casper/ubuntu-jammy-amd64/vmlinuz ip=:::::eno1:dhcp url=https://old-releases.ubuntu.com/releases/jammy/ubuntu-22.04.1-live-server-amd64.iso autoinstall ds=nocloud-net\;s=http://10.30.51.24:8081/ubuntu_jammy_amd64/7c:c2:55:55:c0:78/ --- + initrd /casper/ubuntu-jammy-amd64/initrd +} diff --git a/fdio.infra/pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-7c:c2:55:55:c0:7a b/fdio.infra/pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-7c:c2:55:55:c0:7a new file mode 100644 index 0000000000..a89d3eb41d --- /dev/null +++ b/fdio.infra/pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-7c:c2:55:55:c0:7a @@ -0,0 +1,4 @@ +menuentry "Install s22-nomad" { + linux /casper/ubuntu-jammy-amd64/vmlinuz ip=:::::eno1:dhcp url=https://old-releases.ubuntu.com/releases/jammy/ubuntu-22.04.1-live-server-amd64.iso autoinstall ds=nocloud-net\;s=http://10.30.51.24:8081/ubuntu_jammy_amd64/7c:c2:55:55:c0:7a/ --- + initrd /casper/ubuntu-jammy-amd64/initrd +} diff --git a/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:6c/meta-data b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:6c/meta-data new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:6c/meta-data diff --git a/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:6c/user-data b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:6c/user-data new file mode 100644 index 0000000000..2a623a89a1 --- /dev/null +++ b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:6c/user-data @@ -0,0 +1,120 @@ +#cloud-config +autoinstall: + version: 1 + apt: + geoip: true + preserve_sources_list: false + primary: + - arches: [amd64, i386] + uri: http://ca.archive.ubuntu.com/ubuntu + - arches: [default] + uri: http://ports.ubuntu.com/ubuntu-ports + identity: + hostname: s31-t16-sut1 + password: $6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1 + realname: localadmin + username: localadmin + keyboard: + layout: us + toggle: null + variant: '' + locale: en_US.UTF-8 + network: + ethernets: + eno1: + addresses: [ 10.30.51.31/24 ] + dhcp4: false + gateway4: 10.30.51.1 + nameservers: + addresses: [ 1.1.1.1, 8.8.8.8 ] + version: 2 + packages: + - python3 + refresh-installer: + update: no + ssh: + allow-pw: true + authorized-keys: [] + install-server: true + storage: + config: + - grub_device: false + id: disk-sda + path: /dev/sda + ptable: gpt + preserve: false + type: disk + wipe: superblock-recursive + - grub_device: false + id: disk-sdb + path: /dev/sdb + ptable: gpt + preserve: false + type: disk + wipe: superblock-recursive + - device: disk-sda + grub_device: true + id: partition-0 + flag: boot + number: 1 + preserve: false + size: 536870912 + type: partition + wipe: superblock + - device: disk-sdb + grub_device: true + id: partition-1 + flag: boot + number: 1 + preserve: false + size: 536870912 + type: partition + wipe: superblock + - id: format-0 + fstype: fat32 + preserve: false + type: format + volume: partition-0 + - id: format-1 + fstype: fat32 + preserve: false + type: format + volume: partition-1 + - device: disk-sda + flag: '' + grub_device: false + id: partition-2 + number: 2 + preserve: false + size: -1 + type: partition + wipe: superblock + - device: disk-sdb + flag: '' + grub_device: false + id: partition-3 + number: 2 + preserve: false + size: -1 + type: partition + wipe: superblock + - name: md0 + raidlevel: raid1 + devices: [partition-2, partition-3] + spare_devices: [] + preserve: false + type: raid + id: raid-0 + - fstype: ext4 + id: format-2 + preserve: false + type: format + volume: raid-0 + - device: format-2 + id: mount-1 + path: / + type: mount + - device: format-0 + id: mount-0 + path: /boot/efi + type: mount diff --git a/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:74/meta-data b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:74/meta-data new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:74/meta-data diff --git a/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:74/user-data b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:74/user-data new file mode 100644 index 0000000000..b15b9a8ab5 --- /dev/null +++ b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:74/user-data @@ -0,0 +1,120 @@ +#cloud-config +autoinstall: + version: 1 + apt: + geoip: true + preserve_sources_list: false + primary: + - arches: [amd64, i386] + uri: http://ca.archive.ubuntu.com/ubuntu + - arches: [default] + uri: http://ports.ubuntu.com/ubuntu-ports + identity: + hostname: s21-nomad + password: $6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1 + realname: localadmin + username: localadmin + keyboard: + layout: us + toggle: null + variant: '' + locale: en_US.UTF-8 + network: + ethernets: + eno1: + addresses: [ 10.30.51.21/24 ] + dhcp4: false + gateway4: 10.30.51.1 + nameservers: + addresses: [ 1.1.1.1, 8.8.8.8 ] + version: 2 + packages: + - python3 + refresh-installer: + update: no + ssh: + allow-pw: true + authorized-keys: [] + install-server: true + storage: + config: + - grub_device: false + id: disk-sda + path: /dev/sda + ptable: gpt + preserve: false + type: disk + wipe: superblock-recursive + - grub_device: false + id: disk-sdb + path: /dev/sdb + ptable: gpt + preserve: false + type: disk + wipe: superblock-recursive + - device: disk-sda + grub_device: true + id: partition-0 + flag: boot + number: 1 + preserve: false + size: 536870912 + type: partition + wipe: superblock + - device: disk-sdb + grub_device: true + id: partition-1 + flag: boot + number: 1 + preserve: false + size: 536870912 + type: partition + wipe: superblock + - id: format-0 + fstype: fat32 + preserve: false + type: format + volume: partition-0 + - id: format-1 + fstype: fat32 + preserve: false + type: format + volume: partition-1 + - device: disk-sda + flag: '' + grub_device: false + id: partition-2 + number: 2 + preserve: false + size: -1 + type: partition + wipe: superblock + - device: disk-sdb + flag: '' + grub_device: false + id: partition-3 + number: 2 + preserve: false + size: -1 + type: partition + wipe: superblock + - name: md0 + raidlevel: raid1 + devices: [partition-2, partition-3] + spare_devices: [] + preserve: false + type: raid + id: raid-0 + - fstype: ext4 + id: format-2 + preserve: false + type: format + volume: raid-0 + - device: format-2 + id: mount-1 + path: / + type: mount + - device: format-0 + id: mount-0 + path: /boot/efi + type: mount diff --git a/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:78/meta-data b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:78/meta-data new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:78/meta-data diff --git a/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:78/user-data b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:78/user-data new file mode 100644 index 0000000000..782f6c05ed --- /dev/null +++ b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:78/user-data @@ -0,0 +1,120 @@ +#cloud-config +autoinstall: + version: 1 + apt: + geoip: true + preserve_sources_list: false + primary: + - arches: [amd64, i386] + uri: http://ca.archive.ubuntu.com/ubuntu + - arches: [default] + uri: http://ports.ubuntu.com/ubuntu-ports + identity: + hostname: s30-t15-sut1 + password: $6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1 + realname: localadmin + username: localadmin + keyboard: + layout: us + toggle: null + variant: '' + locale: en_US.UTF-8 + network: + ethernets: + eno1: + addresses: [ 10.30.51.30/24 ] + dhcp4: false + gateway4: 10.30.51.1 + nameservers: + addresses: [ 1.1.1.1, 8.8.8.8 ] + version: 2 + packages: + - python3 + refresh-installer: + update: no + ssh: + allow-pw: true + authorized-keys: [] + install-server: true + storage: + config: + - grub_device: false + id: disk-sda + path: /dev/sda + ptable: gpt + preserve: false + type: disk + wipe: superblock-recursive + - grub_device: false + id: disk-sdb + path: /dev/sdb + ptable: gpt + preserve: false + type: disk + wipe: superblock-recursive + - device: disk-sda + grub_device: true + id: partition-0 + flag: boot + number: 1 + preserve: false + size: 536870912 + type: partition + wipe: superblock + - device: disk-sdb + grub_device: true + id: partition-1 + flag: boot + number: 1 + preserve: false + size: 536870912 + type: partition + wipe: superblock + - id: format-0 + fstype: fat32 + preserve: false + type: format + volume: partition-0 + - id: format-1 + fstype: fat32 + preserve: false + type: format + volume: partition-1 + - device: disk-sda + flag: '' + grub_device: false + id: partition-2 + number: 2 + preserve: false + size: -1 + type: partition + wipe: superblock + - device: disk-sdb + flag: '' + grub_device: false + id: partition-3 + number: 2 + preserve: false + size: -1 + type: partition + wipe: superblock + - name: md0 + raidlevel: raid1 + devices: [partition-2, partition-3] + spare_devices: [] + preserve: false + type: raid + id: raid-0 + - fstype: ext4 + id: format-2 + preserve: false + type: format + volume: raid-0 + - device: format-2 + id: mount-1 + path: / + type: mount + - device: format-0 + id: mount-0 + path: /boot/efi + type: mount diff --git a/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:7a/meta-data b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:7a/meta-data new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:7a/meta-data diff --git a/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:7a/user-data b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:7a/user-data new file mode 100644 index 0000000000..5ea530ecf3 --- /dev/null +++ b/fdio.infra/pxe/docker-nginx/html/ubuntu_jammy_amd64/7c:c2:55:55:c0:7a/user-data @@ -0,0 +1,120 @@ +#cloud-config +autoinstall: + version: 1 + apt: + geoip: true + preserve_sources_list: false + primary: + - arches: [amd64, i386] + uri: http://ca.archive.ubuntu.com/ubuntu + - arches: [default] + uri: http://ports.ubuntu.com/ubuntu-ports + identity: + hostname: s22-nomad + password: $6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1 + realname: localadmin + username: localadmin + keyboard: + layout: us + toggle: null + variant: '' + locale: en_US.UTF-8 + network: + ethernets: + eno1: + addresses: [ 10.30.51.22/24 ] + dhcp4: false + gateway4: 10.30.51.1 + nameservers: + addresses: [ 1.1.1.1, 8.8.8.8 ] + version: 2 + packages: + - python3 + refresh-installer: + update: no + ssh: + allow-pw: true + authorized-keys: [] + install-server: true + storage: + config: + - grub_device: false + id: disk-sda + path: /dev/sda + ptable: gpt + preserve: false + type: disk + wipe: superblock-recursive + - grub_device: false + id: disk-sdb + path: /dev/sdb + ptable: gpt + preserve: false + type: disk + wipe: superblock-recursive + - device: disk-sda + grub_device: true + id: partition-0 + flag: boot + number: 1 + preserve: false + size: 536870912 + type: partition + wipe: superblock + - device: disk-sdb + grub_device: true + id: partition-1 + flag: boot + number: 1 + preserve: false + size: 536870912 + type: partition + wipe: superblock + - id: format-0 + fstype: fat32 + preserve: false + type: format + volume: partition-0 + - id: format-1 + fstype: fat32 + preserve: false + type: format + volume: partition-1 + - device: disk-sda + flag: '' + grub_device: false + id: partition-2 + number: 2 + preserve: false + size: -1 + type: partition + wipe: superblock + - device: disk-sdb + flag: '' + grub_device: false + id: partition-3 + number: 2 + preserve: false + size: -1 + type: partition + wipe: superblock + - name: md0 + raidlevel: raid1 + devices: [partition-2, partition-3] + spare_devices: [] + preserve: false + type: raid + id: raid-0 + - fstype: ext4 + id: format-2 + preserve: false + type: format + volume: raid-0 + - device: format-2 + id: mount-1 + path: / + type: mount + - device: format-0 + id: mount-0 + path: /boot/efi + type: mount |