You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Run `az login` at least once BEFORE running this script
7
7
#
@@ -38,21 +38,24 @@ def executeCmd (cmd):
38
38
CLUSTER_NAME=input("Provide name of AKS cluster and SQL big data cluster - Press ENTER for using `sqlbigdata`:").strip() or"sqlbigdata"
39
39
40
40
#This password will be use for Controller user, Knox user and SQL Server Master SA accounts
41
+
#
41
42
CONTROLLER_USERNAME=input("Provide username to be used for Controller user - Press ENTER for using `admin`:").strip() or"admin"
42
43
PASSWORD=getpass.getpass("Provide password to be used for Controller user, Knox user and SQL Server Master SA accounts - Press ENTER for using `MySQLBigData2019`").strip() or"MySQLBigData2019"
43
44
44
-
#docker registry details
45
-
DOCKER_REGISTRY="private-repo.microsoft.com"
46
-
DOCKER_REPOSITORY="mssql-private-preview"
47
-
DOCKER_IMAGE_TAG="ctp3.1"
45
+
# Docker registry details
46
+
# Use this only if you are using a private registry different than mcr. If so, make sure you are also setting the environment variables for DOCKER_USERNAME and DOCKER_PASSWORD
# Use this only if you are using a private registry different than mcr. If so, you must set the environment variables for DOCKER_USERNAME and DOCKER_PASSWORD
57
+
# os.environ['DOCKER_USERNAME']=DOCKER_USERNAME
58
+
# os.environ['DOCKER_PASSWORD']=DOCKER_PASSWORD
56
59
os.environ['ACCEPT_EULA']="Yes"
57
60
58
61
print ("Set azure context to subcription: "+SUBSCRIPTION_ID)
@@ -71,29 +74,30 @@ def executeCmd (cmd):
71
74
executeCmd (command)
72
75
73
76
print("Creating SQL Big Data cluster:"+CLUSTER_NAME)
0 commit comments