Skip to content

Commit

Permalink
Add CoreOS aarch64 support
Browse files Browse the repository at this point in the history
  • Loading branch information
antonym committed Oct 3, 2021
1 parent ef65f3b commit eb96bb7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file.
## [Unreleased]

## [2.0.51]
#### Added
- Fedora CoreOS - aarch64 support

## [2.0.50] - 2021-10-03
#### Added
Expand Down
9 changes: 6 additions & 3 deletions roles/netbootxyz/templates/menu/coreos.ipxe.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ goto ${menu}

:coreos
set os {{ releases.coreos.name }}
set os_arch ${arch}
iseq ${os_arch} x86_64 && set os_arch x86_64 ||
iseq ${os_arch} arm64 && set os_arch aarch64 ||
isset ${install_device} || set install_device /dev/sda
isset ${ignition_url} || set ignition_url skip
menu ${os}
menu ${os} - ${os_arch}
item --gap ${os}:
{% for item in releases.coreos.versions %}
item {{ item.code_name }} ${space} ${os} {{ item.name }}
Expand All @@ -31,8 +34,8 @@ iseq ${core_version} {{ item.code_name }} && set coreos_channel {{ item.name }}
set base_url ${coreos_mirror}/${coreos_base_dir}/${coreos_channel}/builds
set build_version ${core_version}
imgfree
kernel ${base_url}/${build_version}/x86_64/fedora-coreos-${build_version}-live-kernel-x86_64 ip=dhcp rd.neednet=1 coreos.inst.install_dev=${install_device} coreos.inst.ignition_url=${ignition_url} coreos.live.rootfs_url=${base_url}/${build_version}/x86_64/fedora-coreos-${build_version}-live-rootfs.x86_64.img {{ kernel_params }}
initrd ${base_url}/${build_version}/x86_64/fedora-coreos-${build_version}-live-initramfs.x86_64.img
kernel ${base_url}/${build_version}/${os_arch}/fedora-coreos-${build_version}-live-kernel-${os_arch} ip=dhcp rd.neednet=1 coreos.inst.install_dev=${install_device} coreos.inst.ignition_url=${ignition_url} coreos.live.rootfs_url=${base_url}/${build_version}/${os_arch}/fedora-coreos-${build_version}-live-rootfs.${os_arch}.img {{ kernel_params }}
initrd ${base_url}/${build_version}/${os_arch}/fedora-coreos-${build_version}-live-initramfs.${os_arch}.img
boot
goto coreos_exit

Expand Down
1 change: 1 addition & 0 deletions roles/netbootxyz/templates/menu/linux-arm.ipxe.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ item alpinelinux ${space} AlmaLinux
item alpinelinux ${space} Alpine Linux
item centos ${space} CentOS
item debian ${space} Debian
item coreos ${space} Fedora CoreOS
item gentoo ${space} Gentoo
item fedora ${space} Fedora
item rhel ${space} Red Hat Enterprise Linux
Expand Down

0 comments on commit eb96bb7

Please sign in to comment.