From 2691658acedadbdd6cf9ecdccb609cffadf4c7f5 Mon Sep 17 00:00:00 2001 From: sahraoui741 Date: Fri, 1 Nov 2019 21:40:02 +0100 Subject: [PATCH] Update mediabots_Ubuntu-to-Windows.sh --- mediabots_Ubuntu-to-Windows.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mediabots_Ubuntu-to-Windows.sh b/mediabots_Ubuntu-to-Windows.sh index 1aea919..6c4d34f 100644 --- a/mediabots_Ubuntu-to-Windows.sh +++ b/mediabots_Ubuntu-to-Windows.sh @@ -32,13 +32,13 @@ fi sudo ln -s /usr/bin/genisoimage /usr/bin/mkisofs # Downloading resources sudo mkdir /mediabots /floppy /virtio -link1_status=$(curl -Is http://163.172.181.86/WS2012R2.ISO | grep HTTP | cut -f2 -d" ") -link2_status=$(curl -Is https://ia601506.us.archive.org/4/items/WS2012R2/WS2012R2.ISO | grep HTTP | cut -f2 -d" ") +link1_status=$(curl -Is https://software-download.microsoft.com/download/pr/17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us_1.iso | grep HTTP | cut -f2 -d" ") +link2_status=$(curl -Is https://software-download.microsoft.com/download/pr/17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us_1.iso | grep HTTP | cut -f2 -d" ") #sudo wget -P /mediabots https://archive.org/download/WS2012R2/WS2012R2.ISO # Windows Server 2012 R2 if [ $link1_status = "200" ] ; then sudo wget -P /mediabots http://163.172.181.86/WS2012R2.ISO elif [ $link2_status = "200" -o $link2_status = "301" ] ; then - sudo wget -P /mediabots https://ia601506.us.archive.org/4/items/WS2012R2/WS2012R2.ISO + sudo wget -P /mediabots https://software-download.microsoft.com/download/pr/17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us_1.iso else echo -e "${RED}[Error]${NC} ${YELLOW}Sorry! None of Windows OS image urls are available , please report about this issue on Github page : ${NC}https://github.com/mediabots/Linux-to-Windows-with-QEMU" echo "Exiting.."