|
@@ -39,7 +39,7 @@ goto boot_type
|
|
:mirrorcfg
|
|
:mirrorcfg
|
|
set mirrorcfg mirror/suite=${ubuntu_version}
|
|
set mirrorcfg mirror/suite=${ubuntu_version}
|
|
set dir ${ubuntu_base_dir}/dists/${ubuntu_version}-updates/main/installer-${arch_a}/current/images/netboot/
|
|
set dir ${ubuntu_base_dir}/dists/${ubuntu_version}-updates/main/installer-${arch_a}/current/images/netboot/
|
|
-iseq ${ubuntu_version} focal && set dir ${ubuntu_base_dir}/dists/${ubuntu_version}-updates/main/installer-${arch_a}/current/legacy-images/netboot/
|
|
|
|
|
|
+iseq ${ubuntu_version} focal && set dir ${ubuntu_base_dir}/dists/${ubuntu_version}-updates/main/installer-${arch_a}/current/legacy-images/netboot/ ||
|
|
goto boot_type
|
|
goto boot_type
|
|
|
|
|
|
:boot_type
|
|
:boot_type
|
|
@@ -61,7 +61,7 @@ goto deb_install
|
|
iseq ${install_type} deb && set install_name preseed ||
|
|
iseq ${install_type} deb && set install_name preseed ||
|
|
iseq ${install_type} sub && set install_name autoinstall ||
|
|
iseq ${install_type} sub && set install_name autoinstall ||
|
|
echo -n Specify ${install_name} URL for ${os} ${ubuntu_version}: && read install_url
|
|
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} deb && set install_params auto=true priority=low preseed/url=${install_url} ||
|
|
iseq ${install_type} sub && set install_params autoinstall ds=nocloud-net;s=${install_url} ||
|
|
iseq ${install_type} sub && set install_params autoinstall ds=nocloud-net;s=${install_url} ||
|
|
goto deb_install
|
|
goto deb_install
|
|
|
|
|