Add Windows error message to the download function

This commit is contained in:
Liam 2024-04-18 12:51:11 -07:00 committed by Martin Wimpress
parent c39cf208e7
commit 9665a11e21

View File

@ -3359,6 +3359,17 @@ function curl_windows() {
fi
fi
local url="https://www.microsoft.com/en-us/software-download/windows$windows_version"
case "$windows_version" in
8 | 10) url="${url}ISO";;
esac
echo
echo " - Manually download the Windows ${windows_version} ISO using a web browser from: ${url}"
echo " - Save the downloaded ISO to: $(realpath "${VM_PATH}")"
echo " - Update the config file to reference the downloaded ISO: ./${VM_PATH}.conf"
echo " - Continuing with the VM creation process..."
return "$error_action"
}