|
@@ -10,6 +10,7 @@ set os Ubuntu
|
|
clear ubuntu_version
|
|
clear ubuntu_version
|
|
clear install_type
|
|
clear install_type
|
|
clear older_release
|
|
clear older_release
|
|
|
|
+clear install_url
|
|
set install_type deb
|
|
set install_type deb
|
|
menu ${os} - ${arch_a}
|
|
menu ${os} - ${arch_a}
|
|
item --gap Latest Releases
|
|
item --gap Latest Releases
|
|
@@ -57,9 +58,11 @@ iseq ${install_type} sub && set install_params systemd.unit=rescue.target ||
|
|
goto deb_install
|
|
goto deb_install
|
|
|
|
|
|
:deb_automated
|
|
: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
|
|
goto deb_install
|
|
|
|
|
|
:deb_install
|
|
:deb_install
|