summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcreate-vm2
1 files changed, 2 insertions, 0 deletions
diff --git a/create-vm b/create-vm
index 1b36db1..84137e4 100755
--- a/create-vm
+++ b/create-vm
@@ -38,9 +38,11 @@ if ! which wget >/dev/null; then
if which yum >/dev/null; then
echo "Attempting to install curl using yum"
sudo yum install curl
+ USE_CURL=true
elif which apt-get >/dev/null; then
echo "Attempting to install curl using apt-get"
sudo apt-get install curl
+ USE_CURL=true
else
echo "I do not know how to install curl on this system. Please install curl or wget manually"
exit 1