use CLI from installed CC server

This commit is contained in:
Xavier Pillons 2019-11-09 18:54:13 +01:00
Родитель 1aa640d9c7
Коммит 1fd1e47703
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -5,12 +5,13 @@ password=$3
resource_group=$4
cyclecloud_storage_key=$5
downloadURL="https://cyclecloudarm.azureedge.net/cyclecloudrelease"
release="latest"
#downloadURL="https://cyclecloudarm.azureedge.net/cyclecloudrelease"
#release="latest"
# Installing CycleCloud CLI
echo "Getting CLI binaries..."
wget -q "$downloadURL/$release/cyclecloud-cli.zip"
#wget -q "$downloadURL/$release/cyclecloud-cli.zip"
wget --no-check-certificate https://$fqdn/download/tools/cyclecloud-cli.zip
unzip -o cyclecloud-cli.zip
pushd cyclecloud-cli-installer/