Skip to content

Commit 515aa26

Browse files
committed
Revert "Update deploy-sql-big-data-aks.py"
This reverts commit d30fd67.
1 parent d30fd67 commit 515aa26

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ 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-
# 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()
27+
DOCKER_USERNAME = input("Provide your Docker username:").strip()
28+
DOCKER_PASSWORD = getpass.getpass("Provide your Docker password:").strip()
3029

3130
#
3231
# Optionally change these configuration settings
@@ -59,7 +58,7 @@ def executeCmd (cmd):
5958
# os.environ['DOCKER_PASSWORD']=DOCKER_PASSWORD
6059
os.environ['ACCEPT_EULA']="Yes"
6160

62-
print ("Set azure context to subscription: "+SUBSCRIPTION_ID)
61+
print ("Set azure context to subcription: "+SUBSCRIPTION_ID)
6362
command = "az account set -s "+ SUBSCRIPTION_ID
6463
executeCmd (command)
6564

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

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

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

0 commit comments

Comments
 (0)