mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-01-23 02:34:26 +00:00
Merge pull request #820 from netbootxyz/ubuntu_tune
Change prompt based on installer type
This commit is contained in:
commit
22ad18a144
1 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue