mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Revert "Update deploy-sql-big-data-aks.py"
This reverts commit d30fd67dd3.
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user