diff options
author | Peter Mikus <pmikus@cisco.com> | 2022-03-21 11:02:17 +0100 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2022-03-21 11:02:17 +0100 |
commit | 6c774fd1b52c7d218c9a1d974eb61bbaa3afef97 (patch) | |
tree | ff0b714d9483f99dc54b3961f8108efb09cb5b2b /fdio.infra.pxe/docker-nginx | |
parent | c48df61226aebf6f10c43ee3e93cb6cf567a6ccb (diff) |
feat(pxe): Add ALT
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I0309afa8a34f18a675f82ea8e696c620f5bf444b
Diffstat (limited to 'fdio.infra.pxe/docker-nginx')
7 files changed, 366 insertions, 6 deletions
diff --git a/fdio.infra.pxe/docker-nginx/Dockerfile b/fdio.infra.pxe/docker-nginx/Dockerfile index 0ea204cd00..8cc9282bc0 100644 --- a/fdio.infra.pxe/docker-nginx/Dockerfile +++ b/fdio.infra.pxe/docker-nginx/Dockerfile @@ -6,13 +6,13 @@ LABEL Version="2.0" RUN apt update \ && apt install -y wget -ENV ISO_FOCAL_AMD64 https://releases.ubuntu.com/20.04.3/ubuntu-20.04.3-live-server-amd64.iso -ENV ISO_FOCAL_ARM64 https://cdimage.ubuntu.com/releases/20.04/release/ubuntu-20.04.3-live-server-arm64.iso +ENV ISO_FOCAL_AMD64 https://releases.ubuntu.com/20.04.4/ubuntu-20.04.4-live-server-amd64.iso +ENV ISO_FOCAL_ARM64 https://cdimage.ubuntu.com/releases/20.04/release/ubuntu-20.04.4-live-server-arm64.iso ENV ISO_BIONIC_AMD64 https://releases.ubuntu.com/18.04.5/ubuntu-18.04.5-live-server-amd64.iso RUN echo "Preparing ISO Pre-cache" \ - && wget $ISO_FOCAL_AMD64 -O /ubuntu-20.04.3-live-server-amd64.iso \ - && wget $ISO_FOCAL_ARM64 -O /ubuntu-20.04.3-live-server-arm64.iso \ + && wget $ISO_FOCAL_AMD64 -O /ubuntu-20.04.4-live-server-amd64.iso \ + && wget $ISO_FOCAL_ARM64 -O /ubuntu-20.04.4-live-server-arm64.iso \ && wget $ISO_BIONIC_AMD64 -O /ubuntu-18.04.5-live-server-amd64.iso @@ -29,8 +29,8 @@ RUN mkdir -p $NGINX_FOCAL_AMD64 \ && mkdir -p $NGINX_FOCAL_ARM64 \ && mkdir -p $NGINX_BIONIC_AMD64 -COPY --from=ubuntu_focal /ubuntu-20.04.3-live-server-amd64.iso $NGINX_FOCAL_AMD64/ubuntu-20.04.3-live-server-amd64.iso -COPY --from=ubuntu_focal /ubuntu-20.04.3-live-server-arm64.iso $NGINX_FOCAL_ARM64/ubuntu-20.04.3-live-server-arm64.iso +COPY --from=ubuntu_focal /ubuntu-20.04.4-live-server-amd64.iso $NGINX_FOCAL_AMD64/ubuntu-20.04.4-live-server-amd64.iso +COPY --from=ubuntu_focal /ubuntu-20.04.4-live-server-arm64.iso $NGINX_FOCAL_ARM64/ubuntu-20.04.4-live-server-arm64.iso COPY --from=ubuntu_focal /ubuntu-18.04.5-live-server-amd64.iso $NGINX_BIONIC_AMD64/ubuntu-18.04.5-live-server-amd64.iso COPY html/ /usr/share/nginx/html/
\ No newline at end of file diff --git a/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/3c:ec:ef:b9:cc:56/meta-data b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/3c:ec:ef:b9:cc:56/meta-data new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/3c:ec:ef:b9:cc:56/meta-data diff --git a/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/3c:ec:ef:b9:cc:56/user-data b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/3c:ec:ef:b9:cc:56/user-data new file mode 100644 index 0000000000..6eadb58ec1 --- /dev/null +++ b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_amd64/3c:ec:ef:b9:cc:56/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: s64-t34-tg1 + password: $6$Y62lhMGJD8YNzmJn$H4DSqjrwFp5WN3tOvIrF.g/G2duOV76zXHAmaA/RU8jfT8H8sDumLQe/Q.EmI5pjPv7dzgI8j9BQPWes7efBK0 + realname: testuser + username: testuser + keyboard: + layout: us + toggle: null + variant: '' + locale: en_US.UTF-8 + network: + ethernets: + eno1: + addresses: [ 10.30.51.74/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
\ No newline at end of file diff --git a/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_arm64/70:e2:84:8f:5d:0b/meta-data b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_arm64/70:e2:84:8f:5d:0b/meta-data new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_arm64/70:e2:84:8f:5d:0b/meta-data diff --git a/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_arm64/70:e2:84:8f:5d:0b/user-data b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_arm64/70:e2:84:8f:5d:0b/user-data new file mode 100644 index 0000000000..d910c0cf0c --- /dev/null +++ b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_arm64/70:e2:84:8f:5d:0b/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: s63-t34-sut2 + password: $6$Y62lhMGJD8YNzmJn$H4DSqjrwFp5WN3tOvIrF.g/G2duOV76zXHAmaA/RU8jfT8H8sDumLQe/Q.EmI5pjPv7dzgI8j9BQPWes7efBK0 + realname: testuser + username: testuser + keyboard: + layout: us + toggle: null + variant: '' + locale: en_US.UTF-8 + network: + ethernets: + enP2p1s0v0: + addresses: [ 10.30.51.73/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_focal_arm64/70:e2:84:8f:e3:48/meta-data b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_arm64/70:e2:84:8f:e3:48/meta-data new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_arm64/70:e2:84:8f:e3:48/meta-data diff --git a/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_arm64/70:e2:84:8f:e3:48/user-data b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_arm64/70:e2:84:8f:e3:48/user-data new file mode 100644 index 0000000000..69a6785d2e --- /dev/null +++ b/fdio.infra.pxe/docker-nginx/html/ubuntu_focal_arm64/70:e2:84:8f:e3:48/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: s62-t34-sut1 + password: $6$Y62lhMGJD8YNzmJn$H4DSqjrwFp5WN3tOvIrF.g/G2duOV76zXHAmaA/RU8jfT8H8sDumLQe/Q.EmI5pjPv7dzgI8j9BQPWes7efBK0 + realname: testuser + username: testuser + keyboard: + layout: us + toggle: null + variant: '' + locale: en_US.UTF-8 + network: + ethernets: + enP2p1s0v0: + addresses: [ 10.30.51.72/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 |