Revert "Update deploy-sql-big-data-aks.py"

This reverts commit d30fd67dd3.
This commit is contained in:
Ben Weissman
2019-08-22 05:33:21 +02:00
parent d30fd67dd3
commit 515aa26411
@@ -24,9 +24,8 @@ def executeCmd (cmd):
#
SUBSCRIPTION_ID = input("Provide your Azure subscription ID:").strip()
GROUP_NAME = input("Provide Azure resource group name to be created:").strip()
# Required only if you are using a private registry different than mcr.
# DOCKER_USERNAME = input("Provide your Docker username:").strip()
# DOCKER_PASSWORD = getpass.getpass("Provide your Docker password:").strip()
DOCKER_USERNAME = input("Provide your Docker username:").strip()
DOCKER_PASSWORD = getpass.getpass("Provide your Docker password:").strip()
#
# Optionally change these configuration settings
@@ -59,7 +58,7 @@ os.environ['KNOX_PASSWORD'] = PASSWORD
# os.environ['DOCKER_PASSWORD']=DOCKER_PASSWORD
os.environ['ACCEPT_EULA']="Yes"
print ("Set azure context to subscription: "+SUBSCRIPTION_ID)
print ("Set azure context to subcription: "+SUBSCRIPTION_ID)
command = "az account set -s "+ SUBSCRIPTION_ID
executeCmd (command)
@@ -78,7 +77,7 @@ print("Creating SQL Big Data cluster:" +CLUSTER_NAME)
command="azdata bdc config init --source aks-dev-test --target custom --force"
executeCmd (command)
command="azdata bdc config replace -c custom/cluster.json -j ""metadata.name=" + CLUSTER_NAME + ""
command="azdata bdc config section set -c custom -j ""metadata.name=" + CLUSTER_NAME + ""
executeCmd (command)
# Use this only if you are using a private registry different than default Micrososft registry (mcr).