changed verbiage on cli name
This commit is contained in:
parent
0868c21d13
commit
6770bb8091
|
@ -15,9 +15,9 @@ azureversion=
|
||||||
create_sleep=10
|
create_sleep=10
|
||||||
|
|
||||||
showhelp() {
|
showhelp() {
|
||||||
echo "az-setup"
|
echo "azure-setup"
|
||||||
echo ""
|
echo ""
|
||||||
echo " az-setup helps you generate packer credentials for az"
|
echo " azure-setup helps you generate packer credentials for azure"
|
||||||
echo ""
|
echo ""
|
||||||
echo " The script creates a resource group, storage account, application"
|
echo " The script creates a resource group, storage account, application"
|
||||||
echo " (client), service principal, and permissions and displays a snippet"
|
echo " (client), service principal, and permissions and displays a snippet"
|
||||||
|
@ -25,7 +25,7 @@ showhelp() {
|
||||||
echo ""
|
echo ""
|
||||||
echo " For simplicity we make a lot of assumptions and choose reasonable"
|
echo " For simplicity we make a lot of assumptions and choose reasonable"
|
||||||
echo " defaults. If you want more control over what happens, please use"
|
echo " defaults. If you want more control over what happens, please use"
|
||||||
echo " the az-cli directly."
|
echo " the azure cli directly."
|
||||||
echo ""
|
echo ""
|
||||||
echo " Note that you must already have an az account, username,"
|
echo " Note that you must already have an az account, username,"
|
||||||
echo " password, and subscription. You can create those here:"
|
echo " password, and subscription. You can create those here:"
|
||||||
|
@ -34,15 +34,15 @@ showhelp() {
|
||||||
echo ""
|
echo ""
|
||||||
echo "REQUIREMENTS"
|
echo "REQUIREMENTS"
|
||||||
echo ""
|
echo ""
|
||||||
echo " - az-cli"
|
echo " - azure-cli"
|
||||||
echo " - jq"
|
echo " - jq"
|
||||||
echo ""
|
echo ""
|
||||||
echo " Use the requirements command (below) for more info."
|
echo " Use the requirements command (below) for more info."
|
||||||
echo ""
|
echo ""
|
||||||
echo "USAGE"
|
echo "USAGE"
|
||||||
echo ""
|
echo ""
|
||||||
echo " ./az-setup.sh requirements"
|
echo " ./azure-setup.sh requirements"
|
||||||
echo " ./az-setup.sh setup"
|
echo " ./azure-setup.sh setup"
|
||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,9 +52,9 @@ requirements() {
|
||||||
azureversion=$(az -v)
|
azureversion=$(az -v)
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
found=$((found + 1))
|
found=$((found + 1))
|
||||||
echo "Found az-cli version: $azureversion"
|
echo "Found azure-cli version: $azureversion"
|
||||||
else
|
else
|
||||||
echo "az cli is missing. Please install az cli from"
|
echo "azure cli is missing. Please install azure cli from"
|
||||||
echo "https://az.microsoft.com/en-us/documentation/articles/xplat-cli-install/"
|
echo "https://az.microsoft.com/en-us/documentation/articles/xplat-cli-install/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue