Skip to content

Commit

Permalink
fix(kiss): add arm64 support
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Oct 28, 2024
1 parent 8c9eb3a commit 3264895
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/kiss/assets/boot/boot-ubuntu2404.ipxe
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 3264895

Please sign in to comment.