diff --git a/roles/netbootxyz/templates/menu/ubuntu.ipxe.j2 b/roles/netbootxyz/templates/menu/ubuntu.ipxe.j2 index 0fe96eeb..d4737d49 100644 --- a/roles/netbootxyz/templates/menu/ubuntu.ipxe.j2 +++ b/roles/netbootxyz/templates/menu/ubuntu.ipxe.j2 @@ -10,6 +10,7 @@ set os Ubuntu clear ubuntu_version clear install_type clear older_release +clear install_url set install_type deb menu ${os} - ${arch_a} item --gap Latest Releases @@ -57,9 +58,11 @@ iseq ${install_type} sub && set install_params systemd.unit=rescue.target || goto deb_install :deb_automated -echo -n Specify preseed/autoinstall URL for ${os} ${ubuntu_version}: && read autoinstall -iseq ${install_type} deb && set install_params auto=true priority=critical preseed/url=${autoinstall} || -iseq ${install_type} sub && set install_params autoinstall ds=nocloud-net;s=${autoinstall} || +iseq ${install_type} deb && set install_name preseed || +iseq ${install_type} sub && set install_name autoinstall || +echo -n Specify ${install_name} URL for ${os} ${ubuntu_version}: && read install_url +iseq ${install_type} deb && set install_params auto=true priority=critical preseed/url=${install_url} || +iseq ${install_type} sub && set install_params autoinstall ds=nocloud-net;s=${install_url} || goto deb_install :deb_install