Skip to content

Commit

Permalink
Improve Ubuntu 24.04 Booting
Browse files Browse the repository at this point in the history
Increases ramdisk size, and sets cloud-config-url=/dev/null
to prevent hangs during the boot process.

Resolves: #1496
  • Loading branch information
antonym committed Aug 9, 2024
1 parent 488a2e8 commit 8216ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/netbootxyz/templates/menu/ubuntu.ipxe.j2
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ iseq ${os_arch} amd64 && set ubuntu_iso_url http://releases.ubuntu.com/${codenam
iseq ${os_arch} arm64 && set ubuntu_iso_url http://cdimage.ubuntu.com/releases/${version_number}/release/ubuntu-${version_number}-live-server-${os_arch}.iso ||
isset ${dhcp-server} && set netboot_params ip=dhcp url=${ubuntu_iso_url} || set netboot_params
echo Loading Ubuntu Subiquity Network Installer...
kernel ${kernel_url}vmlinuz root=/dev/ram0 ramdisk_size=1500000 ${netboot_params} ${install_params} {{ kernel_params }}
kernel ${kernel_url}vmlinuz root=/dev/ram0 ramdisk_size=3500000 cloud-config-url=/dev/null ${netboot_params} ${install_params} {{ kernel_params }}
initrd ${kernel_url}initrd
echo
echo MD5sums:
Expand Down

0 comments on commit 8216ae0

Please sign in to comment.