From 92dacd47b512d8f97c7dfbed7a6043eec11d7e9e Mon Sep 17 00:00:00 2001 From: pmikus Date: Wed, 12 May 2021 18:55:13 +0000 Subject: Infra: Nomad + Cleanup vault + Add native GC + add raid to skx Signed-off-by: pmikus Change-Id: I402cb96fb7d1dc0c7d026ae69bf29d84be171269 --- .../ubuntu_focal_amd64/ac:1f:6b:5a:6a:b4/user-data | 45 +++++++- .../ac:1f:6b:5a:6a:b4/vendor-data | 120 +++++++++++++++++++++ .../ubuntu_focal_amd64/ac:1f:6b:5a:6a:d4/user-data | 45 +++++++- .../ubuntu_focal_amd64/ac:1f:6b:5a:6b:08/user-data | 45 +++++++- .../ubuntu_focal_amd64/ac:1f:6b:ac:d9:2e/user-data | 45 +++++++- 5 files changed, 284 insertions(+), 16 deletions(-) create mode 100644 fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6a:b4/vendor-data (limited to 'fdio.infra.pxe') diff --git a/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6a:b4/user-data b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6a:b4/user-data index 62fb240050..574207c48d 100644 --- a/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6a:b4/user-data +++ b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6a:b4/user-data @@ -45,6 +45,13 @@ autoinstall: 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 @@ -54,26 +61,56 @@ autoinstall: 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-1 + 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-1 + id: format-2 preserve: false type: format - volume: partition-1 - - device: format-1 + volume: raid-0 + - device: format-2 id: mount-1 path: / type: mount diff --git a/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6a:b4/vendor-data b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6a:b4/vendor-data new file mode 100644 index 0000000000..574207c48d --- /dev/null +++ b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6a:b4/vendor-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: s47-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.32.8.15/24 ] + dhcp4: false + gateway4: 10.32.8.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 \ No newline at end of file diff --git a/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6a:d4/user-data b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6a:d4/user-data index 64a6eee03f..d0bf9a08db 100644 --- a/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6a:d4/user-data +++ b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6a:d4/user-data @@ -45,6 +45,13 @@ autoinstall: 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 @@ -54,26 +61,56 @@ autoinstall: 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-1 + 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-1 + id: format-2 preserve: false type: format - volume: partition-1 - - device: format-1 + volume: raid-0 + - device: format-2 id: mount-1 path: / type: mount diff --git a/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6b:08/user-data b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6b:08/user-data index 39f786497a..c2350becb0 100644 --- a/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6b:08/user-data +++ b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:5a:6b:08/user-data @@ -45,6 +45,13 @@ autoinstall: 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 @@ -54,26 +61,56 @@ autoinstall: 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-1 + 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-1 + id: format-2 preserve: false type: format - volume: partition-1 - - device: format-1 + volume: raid-0 + - device: format-2 id: mount-1 path: / type: mount diff --git a/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:ac:d9:2e/user-data b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:ac:d9:2e/user-data index 061522a7d8..dc603bebfc 100644 --- a/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:ac:d9:2e/user-data +++ b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/ac:1f:6b:ac:d9:2e/user-data @@ -45,6 +45,13 @@ autoinstall: 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 @@ -54,26 +61,56 @@ autoinstall: 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-1 + 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-1 + id: format-2 preserve: false type: format - volume: partition-1 - - device: format-1 + volume: raid-0 + - device: format-2 id: mount-1 path: / type: mount -- cgit 1.2.3-korg