From 326489568d67130cd08f7fd764fc234a85b53b90 Mon Sep 17 00:00:00 2001 From: Ho Kim Date: Mon, 28 Oct 2024 11:20:55 +0900 Subject: [PATCH] fix(kiss): add arm64 support --- templates/kiss/assets/boot/boot-ubuntu2404.ipxe | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/kiss/assets/boot/boot-ubuntu2404.ipxe b/templates/kiss/assets/boot/boot-ubuntu2404.ipxe index dd722578..c0342ee5 100644 --- a/templates/kiss/assets/boot/boot-ubuntu2404.ipxe +++ b/templates/kiss/assets/boot/boot-ubuntu2404.ipxe @@ -9,8 +9,11 @@ iseq ${arch} i386 && set arch x86_64 || iseq ${arch} x86_64 && set arch amd64 || set os_ver 24.04 -set repo http://mirror.kakao.com/ubuntu-releases/${os_ver} +set os_rev .1 # set repo http://assets.kiss.svc.ops.openark/assets/ubuntu-${os_ver} +set repo http://cdimage.ubuntu.com/releases/${os_ver}/release +iseq ${arch} amd64 && set arch http://mirror.kakao.com/ubuntu-releases/${os_ver} || + set cloud_config_url http://assets.kiss.svc.ops.openark/boot/cloud-init_ubuntu_${os_ver}.yaml :kernel @@ -20,7 +23,7 @@ kernel --name vmlinuz ${repo}/netboot/${arch}/linux || goto kernel initrd --name initrd ${repo}/netboot/${arch}/initrd || goto initrd :initargs -imgargs vmlinuz initrd=initrd autoinstall ip=dhcp modprobe.blacklist=rndis_host url=${repo}/ubuntu-${os_ver}-live-server-${arch}.iso cloud-config-url=${cloud_config_url} +imgargs vmlinuz initrd=initrd autoinstall ip=dhcp modprobe.blacklist=rndis_host url=${repo}/ubuntu-${os_ver}${os_rev}-live-server-${arch}.iso cloud-config-url=${cloud_config_url} :boot boot || goto boot