aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.pxe/docker-dnsmasq
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-03-21 11:02:17 +0100
committerPeter Mikus <pmikus@cisco.com>2022-03-21 11:02:17 +0100
commit6c774fd1b52c7d218c9a1d974eb61bbaa3afef97 (patch)
treeff0b714d9483f99dc54b3961f8108efb09cb5b2b /fdio.infra.pxe/docker-dnsmasq
parentc48df61226aebf6f10c43ee3e93cb6cf567a6ccb (diff)
feat(pxe): Add ALT
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I0309afa8a34f18a675f82ea8e696c620f5bf444b
Diffstat (limited to 'fdio.infra.pxe/docker-dnsmasq')
-rw-r--r--fdio.infra.pxe/docker-dnsmasq/Dockerfile16
-rwxr-xr-xfdio.infra.pxe/docker-dnsmasq/etc/dnsmasq.conf3
-rw-r--r--fdio.infra.pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-3c:ec:ef:b9:cc:564
-rw-r--r--fdio.infra.pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-70:e2:84:8f:5d:0b4
-rw-r--r--fdio.infra.pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-70:e2:84:8f:e3:484
5 files changed, 23 insertions, 8 deletions
diff --git a/fdio.infra.pxe/docker-dnsmasq/Dockerfile b/fdio.infra.pxe/docker-dnsmasq/Dockerfile
index 4d6cb9c9f9..d2e3734af2 100644
--- a/fdio.infra.pxe/docker-dnsmasq/Dockerfile
+++ b/fdio.infra.pxe/docker-dnsmasq/Dockerfile
@@ -10,8 +10,8 @@ RUN apt update \
&& mkdir -p /var/lib/tftpboot/casper/ubuntu-focal-arm64/ \
&& mkdir -p /var/lib/tftpboot/casper/ubuntu-bionic-amd64/
-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
ENV EFI_FOCAL_AMD64 http://archive.ubuntu.com/ubuntu/dists/focal/main/uefi/grub2-amd64/current/grubnetx64.efi.signed
ENV EFI_FOCAL_ARM64 http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/uefi/grub2-arm64/current/grubnetaa64.efi.signed
@@ -22,12 +22,12 @@ RUN echo "Preparing Grub EFI Binary" \
&& wget $EFI_FOCAL_ARM64 -O /var/lib/tftpboot/grub/grubnetaa64.efi.signed
RUN echo "Preparing Casper Kernel" \
- && wget $ISO_FOCAL_AMD64 -O /ubuntu-20.04.3-live-server-amd64.iso \
- && isoinfo -i /ubuntu-20.04.3-live-server-amd64.iso -x "/CASPER/INITRD.;1" > /var/lib/tftpboot/casper/ubuntu-focal-amd64/initrd \
- && isoinfo -i /ubuntu-20.04.3-live-server-amd64.iso -x "/CASPER/VMLINUZ.;1" > /var/lib/tftpboot/casper/ubuntu-focal-amd64/vmlinuz\
- && wget $ISO_FOCAL_ARM64 -O /ubuntu-20.04.3-live-server-arm64.iso \
- && isoinfo -i /ubuntu-20.04.3-live-server-arm64.iso -x "/CASPER/INITRD.;1" > /var/lib/tftpboot/casper/ubuntu-focal-arm64/initrd \
- && isoinfo -i /ubuntu-20.04.3-live-server-arm64.iso -x "/CASPER/VMLINUZ.;1" > /var/lib/tftpboot/casper/ubuntu-focal-arm64/vmlinuz \
+ && wget $ISO_FOCAL_AMD64 -O /ubuntu-20.04.4-live-server-amd64.iso \
+ && isoinfo -i /ubuntu-20.04.4-live-server-amd64.iso -x "/CASPER/INITRD.;1" > /var/lib/tftpboot/casper/ubuntu-focal-amd64/initrd \
+ && isoinfo -i /ubuntu-20.04.4-live-server-amd64.iso -x "/CASPER/VMLINUZ.;1" > /var/lib/tftpboot/casper/ubuntu-focal-amd64/vmlinuz\
+ && wget $ISO_FOCAL_ARM64 -O /ubuntu-20.04.4-live-server-arm64.iso \
+ && isoinfo -i /ubuntu-20.04.4-live-server-arm64.iso -x "/CASPER/INITRD.;1" > /var/lib/tftpboot/casper/ubuntu-focal-arm64/initrd \
+ && isoinfo -i /ubuntu-20.04.4-live-server-arm64.iso -x "/CASPER/VMLINUZ.;1" > /var/lib/tftpboot/casper/ubuntu-focal-arm64/vmlinuz \
&& wget $ISO_BIONIC_AMD64 -O /ubuntu-18.04.5-live-server-amd64.iso \
&& isoinfo -i /ubuntu-18.04.5-live-server-amd64.iso -x "/CASPER/INITRD.;1" > /var/lib/tftpboot/casper/ubuntu-bionic-amd64/initrd \
&& isoinfo -i /ubuntu-18.04.5-live-server-amd64.iso -x "/CASPER/VMLINUZ.;1" > /var/lib/tftpboot/casper/ubuntu-bionic-amd64/vmlinuz
diff --git a/fdio.infra.pxe/docker-dnsmasq/etc/dnsmasq.conf b/fdio.infra.pxe/docker-dnsmasq/etc/dnsmasq.conf
index 156a7431d0..6862d72c98 100755
--- a/fdio.infra.pxe/docker-dnsmasq/etc/dnsmasq.conf
+++ b/fdio.infra.pxe/docker-dnsmasq/etc/dnsmasq.conf
@@ -73,6 +73,9 @@ dhcp-host=1c:1b:0d:01:d8:dc,10.30.51.68,s50-nomad,infinite # enP2p1s0v0
dhcp-host=e0:d5:5e:ae:70:26,10.30.51.69,s27-t211-sut1,infinite # eno1
dhcp-host=b4:2e:99:ab:1d:e8,10.30.51.70,s55-t13-sut1,infinite # enp8s0f0
dhcp-host=b4:2e:99:ab:1d:dc,10.30.51.71,s56-t14-sut1,infinite # enp8s0f0
+dhcp-host=70:e2:84:8f:e3:48,10.30.51.72,s62-t34-sut1,infinite # eno1
+dhcp-host=70:e2:84:8f:5d:0b,10.30.51.73,s63-t34-sut2,infinite # eno1
+dhcp-host=3c:ec:ef:b9:cc:56,10.30.51.74,s64-t34-tg1,infinite # eno1
dhcp-host=3c:ec:ef:b9:a6:ba,10.30.51.75,s65-t37-sut1,infinite # eno1
dhcp-host=3c:ec:ef:b9:a6:80,10.30.51.76,s66-t37-sut2,infinite # eno1
dhcp-host=3c:ec:ef:b9:a6:c6,10.30.51.77,s67-t37-tg1,infinite # eno1
diff --git a/fdio.infra.pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-3c:ec:ef:b9:cc:56 b/fdio.infra.pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-3c:ec:ef:b9:cc:56
new file mode 100644
index 0000000000..149f8b2528
--- /dev/null
+++ b/fdio.infra.pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-3c:ec:ef:b9:cc:56
@@ -0,0 +1,4 @@
+menuentry "Install s64-t34-tg1" {
+ linux /casper/ubuntu-focal-amd64/vmlinuz ip=dhcp interface=3c:ec:ef:b9:cc:56 url=https://releases.ubuntu.com/20.04.3/ubuntu-20.04.3-live-server-amd64.iso autoinstall ds=nocloud-net\;s=http://10.30.51.28:8081/ubuntu_focal_amd64/3c:ec:ef:b9:cc:56/ --- console=ttyS0,115200n8 quiet
+ initrd /casper/ubuntu-focal-amd64/initrd
+}
diff --git a/fdio.infra.pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-70:e2:84:8f:5d:0b b/fdio.infra.pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-70:e2:84:8f:5d:0b
new file mode 100644
index 0000000000..011853f072
--- /dev/null
+++ b/fdio.infra.pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-70:e2:84:8f:5d:0b
@@ -0,0 +1,4 @@
+menuentry "Install s63-t34-sut2" {
+ linux /casper/ubuntu-focal-arm64/vmlinuz ip=dhcp interface=70:e2:84:8f:5d:0b url=http://10.30.51.28:8081/ubuntu_focal_arm64/ubuntu-20.04.3-live-server-arm64.iso autoinstall ds=nocloud-net\;s=http://10.30.51.28:8081/ubuntu_focal_arm64/70:e2:84:8f:5d:0b/ --- console=ttyAMA0,115200n8 quiet
+ initrd /casper/ubuntu-focal-arm64/initrd
+} \ No newline at end of file
diff --git a/fdio.infra.pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-70:e2:84:8f:e3:48 b/fdio.infra.pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-70:e2:84:8f:e3:48
new file mode 100644
index 0000000000..5059635e32
--- /dev/null
+++ b/fdio.infra.pxe/docker-dnsmasq/tftpboot/grub/grub.cfg-70:e2:84:8f:e3:48
@@ -0,0 +1,4 @@
+menuentry "Install s62-t34-sut1" {
+ linux /casper/ubuntu-focal-arm64/vmlinuz ip=dhcp interface=70:e2:84:8f:e3:48 url=http://10.30.51.28:8081/ubuntu_focal_arm64/ubuntu-20.04.3-live-server-arm64.iso autoinstall ds=nocloud-net\;s=http://10.30.51.28:8081/ubuntu_focal_arm64/70:e2:84:8f:e3:48/ --- console=ttyAMA0,115200n8 quiet
+ initrd /casper/ubuntu-focal-arm64/initrd
+} \ No newline at end of file