File tree Expand file tree Collapse file tree
samples/features/sql-big-data-cluster/deployment/aks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,9 +24,8 @@ def executeCmd (cmd):
2424#
2525SUBSCRIPTION_ID = input ("Provide your Azure subscription ID:" ).strip ()
2626GROUP_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
6059os .environ ['ACCEPT_EULA' ]= "Yes"
6160
62- print ("Set azure context to subscription : " + SUBSCRIPTION_ID )
61+ print ("Set azure context to subcription : " + SUBSCRIPTION_ID )
6362command = "az account set -s " + SUBSCRIPTION_ID
6463executeCmd (command )
6564
@@ -78,7 +77,7 @@ def executeCmd (cmd):
7877command = "azdata bdc config init --source aks-dev-test --target custom --force"
7978executeCmd (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 + ""
8281executeCmd (command )
8382
8483# Use this only if you are using a private registry different than default Micrososft registry (mcr).
You can’t perform that action at this time.
0 commit comments