Skip to content

Commit

Permalink
fix(kiss/arm64): add ampere cpu support on ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Nov 29, 2024
1 parent d2f2147 commit 20bb51b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions templates/kiss/assets/boot/boot-ubuntu2404.ipxe
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ iseq ${arch} x86_64 && set arch amd64 ||
set os_ver 24.04
set os_rev .1
# set repo http://assets.kiss.svc.ops.openark/assets/ubuntu-${os_ver}
# FIXME: the official cdimage repo does NOT match the versions between initrd and iso
set repo http://cdimage.ubuntu.com/releases/${os_ver}/release
iseq ${arch} amd64 && set arch http://mirror.kakao.com/ubuntu-releases/${os_ver} ||
iseq ${arch} amd64 && set repo 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

Expand All @@ -23,7 +24,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}${os_rev}-live-server-${arch}.iso cloud-config-url=${cloud_config_url}
imgargs vmlinuz initrd=initrd autoinstall console=tty 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
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ systemctl enable bluetooth.service

# Graphics Configuration
add-apt-repository -y 'ppa:graphics-drivers/ppa'
if [ "x$(uname -m)" != 'xx86_64' ]; then
if [ "x$(uname -m)" == 'xx86_64' ]; then
dpkg --add-architecture i386
fi
apt-get update
Expand Down

0 comments on commit 20bb51b

Please sign in to comment.