From 5fc8b916fc125f1022aa9f94dcb67461edf2e0d9 Mon Sep 17 00:00:00 2001 From: Titi Wangsa Damhore <111611+ttwd80@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:06:17 +0000 Subject: [PATCH] Use Ubuntu 24.04 (Noble) Signed-off-by: Titi Wangsa Damhore <111611+ttwd80@users.noreply.github.com> --- stack/vagrant/template.yaml | 7 +++++-- stack/vagrant/ubuntu-download.yaml | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/stack/vagrant/template.yaml b/stack/vagrant/template.yaml index 9eb9f420..20ac4050 100644 --- a/stack/vagrant/template.yaml +++ b/stack/vagrant/template.yaml @@ -20,7 +20,7 @@ spec: timeout: 600 environment: DEST_DISK: {{ index .Hardware.Disks 0 }} - IMG_URL: "http://$TINKERBELL_HOST_IP:8080/jammy-server-cloudimg-amd64.raw.gz" + IMG_URL: "http://$TINKERBELL_HOST_IP:8080/noble-server-cloudimg-amd64.raw.gz" COMPRESSED: true - name: "grow-partition" image: quay.io/tinkerbell/actions/cexec:latest @@ -92,9 +92,12 @@ spec: timeout: 90 pid: host environment: - BLOCK_DEVICE: {{ formatPartition ( index .Hardware.Disks 0 ) 1 }} + BLOCK_DEVICE: {{ formatPartition ( index .Hardware.Disks 0 ) 16 }} FS_TYPE: ext4 IMAGE: quay.io/tinkerbell/actions/kexec:latest WAIT_SECONDS: 10 + KERNEL_PATH: vmlinuz + INITRD_PATH: initrd.img + CMD_LINE: "root={{ formatPartition ( index .Hardware.Disks 0 ) 1 }} ro" volumes: - /var/run/docker.sock:/var/run/docker.sock diff --git a/stack/vagrant/ubuntu-download.yaml b/stack/vagrant/ubuntu-download.yaml index a11d56f6..61995219 100644 --- a/stack/vagrant/ubuntu-download.yaml +++ b/stack/vagrant/ubuntu-download.yaml @@ -26,17 +26,17 @@ data: apiVersion: batch/v1 kind: Job metadata: - name: download-ubuntu-jammy + name: download-ubuntu-noble spec: template: spec: containers: - - name: download-ubuntu-jammy + - name: download-ubuntu-noble image: bash:5.2.2 command: ["/script/entrypoint.sh"] args: [ - "https://cloud-images.ubuntu.com/daily/server/jammy/current/jammy-server-cloudimg-amd64.img", + "https://cloud-images.ubuntu.com/daily/server/noble/current/noble-server-cloudimg-amd64.img", "/output", ] volumeMounts: