Skip to content

Commit d30fd67

Browse files
committed
Update deploy-sql-big-data-aks.py
multiple fixes
1 parent 690fc3f commit d30fd67

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

samples/features/sql-big-data-cluster/deployment/aks/deploy-sql-big-data-aks.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ def executeCmd (cmd):
2424
#
2525
SUBSCRIPTION_ID = input("Provide your Azure subscription ID:").strip()
2626
GROUP_NAME = input("Provide Azure resource group name to be created:").strip()
27-
DOCKER_USERNAME = input("Provide your Docker username:").strip()
28-
DOCKER_PASSWORD = getpass.getpass("Provide your Docker password:").strip()
27+
# Required only if you are using a private registry different than mcr.
28+
# DOCKER_USERNAME = input("Provide your Docker username:").strip()
29+
# DOCKER_PASSWORD = getpass.getpass("Provide your Docker password:").strip()
2930

3031
#
3132
# Optionally change these configuration settings
@@ -58,7 +59,7 @@ def executeCmd (cmd):
5859
# os.environ['DOCKER_PASSWORD']=DOCKER_PASSWORD
5960
os.environ['ACCEPT_EULA']="Yes"
6061

61-
print ("Set azure context to subcription: "+SUBSCRIPTION_ID)
62+
print ("Set azure context to subscription: "+SUBSCRIPTION_ID)
6263
command = "az account set -s "+ SUBSCRIPTION_ID
6364
executeCmd (command)
6465

@@ -77,7 +78,7 @@ def executeCmd (cmd):
7778
command="azdata bdc config init --source aks-dev-test --target custom --force"
7879
executeCmd (command)
7980

80-
command="azdata bdc config section set -c custom -j ""metadata.name=" + CLUSTER_NAME + ""
81+
command="azdata bdc config replace -c custom/cluster.json -j ""metadata.name=" + CLUSTER_NAME + ""
8182
executeCmd (command)
8283

8384
# Use this only if you are using a private registry different than default Micrososft registry (mcr).

0 commit comments

Comments
 (0)