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,8 +24,9 @@ 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- 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
5960os .environ ['ACCEPT_EULA' ]= "Yes"
6061
61- print ("Set azure context to subcription : " + SUBSCRIPTION_ID )
62+ print ("Set azure context to subscription : " + SUBSCRIPTION_ID )
6263command = "az account set -s " + SUBSCRIPTION_ID
6364executeCmd (command )
6465
@@ -77,7 +78,7 @@ def executeCmd (cmd):
7778command = "azdata bdc config init --source aks-dev-test --target custom --force"
7879executeCmd (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 + ""
8182executeCmd (command )
8283
8384# 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