mediabots / Linux-to-Windows-with-QEMU

One Script for Auto installation of Windows Server into a Linux Server. Script would install Windows Server 2012 R2 evaluation copy (180 days free trial). A power shell script to enable Remote Desktop + Firefox installer attached into the CD-ROM.
135 stars 270 forks source link

Curl is not installed #18

Closed ghost closed 4 years ago

ghost commented 4 years ago

Provider: Nocix So it's not an really an issue but more like suggestion. Some providers like mentioned Nocix doesn't install curl automatically, and as I see the script assumes you have it installed. Could you add command to install curl for you? It's kinda annoying to install it manually.

z0mbyHG commented 4 years ago

why don´t you add it yourself after you get the script just add it in the first piece of code with nano or vim if [ $dist = "CentOS" ] ; then printf "Y\n" | yum install sudo -y sudo yum install wget vim curl genisoimage -y

Downloading Portable QEMU-KVM

echo "Downloading QEMU"
sudo yum update -y
    sudo yum install -y curl # Download curl <===========
sudo yum install -y qemu-kvm

elif [ $dist = "Ubuntu" -o $dist = "Debian" ] ; then printf "Y\n" | apt-get install sudo -y sudo apt-get install vim curl genisoimage -y

Downloading Portable QEMU-KVM

echo "Downloading QEMU"
sudo apt-get update
    sudo apt-get install -y curl # Download curl <==============
sudo apt-get install -y qemu-kvm

fi

ghost commented 4 years ago

I am aware, it's just a little suggestion for less advanced users :)

mediabots commented 4 years ago

Ok Thanks OP for the suggestion. I would try to update it, next update.