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
Copy file name to clipboardExpand all lines: samples/features/sql-big-data-cluster/deployment/aks/deploy-sql-big-data-aks.py
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -22,26 +22,26 @@ def executeCmd (cmd):
22
22
#
23
23
# MUST INPUT THESE VALUES!!!!!
24
24
#
25
-
SUBSCRIPTION_ID=input("Provide your Azure subscription ID:")
26
-
GROUP_NAME=input("Provide Azure resource group name to be created:")
27
-
DOCKER_USERNAME=input("Provide your Docker username:")
28
-
DOCKER_PASSWORD=getpass.getpass("Provide your Docker password:")
25
+
SUBSCRIPTION_ID=input("Provide your Azure subscription ID:").strip()
26
+
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()
29
29
30
30
#
31
31
# Optionally change these configuration settings
32
32
#
33
-
AZURE_REGION=input("Provide Azure region - Press ENTER for using `westus`:") or"westus"
34
-
VM_SIZE=input("Provide VM size for the AKS cluster - Press ENTER for using `Standard_L8s`:") or"Standard_L8s"
35
-
AKS_NODE_COUNT=input("Provide number of worker nodes for AKS cluster - Press ENTER for using `1`:") or"1"
33
+
AZURE_REGION=input("Provide Azure region - Press ENTER for using `westus`:").strip()or"westus"
34
+
VM_SIZE=input("Provide VM size for the AKS cluster - Press ENTER for using `Standard_L8s`:").strip()or"Standard_L8s"
35
+
AKS_NODE_COUNT=input("Provide number of worker nodes for AKS cluster - Press ENTER for using `1`:").strip()or"1"
36
36
37
37
#This is both Kubernetes cluster name and SQL Big Data cluster name
38
-
CLUSTER_NAME=input("Provide name of AKS cluster and SQL big data cluster - Press ENTER for using `sqlbigdata`:") or"sqlbigdata"
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
-
PASSWORD=input("Provide password to be used for Controller user, Knox user and SQL Server Master SA accounts - Press ENTER for using `MySQLBigData2019`:") or"MySQLBigData2019"
42
-
CONTROLLER_USERNAME=input("Provide username to be used for Controller user- Press ENTER for using `admin`:")or"admin"
41
+
CONTROLLER_USERNAME=input("Provide username to be used for Controller user- Press ENTER for using `admin`:").strip()or"admin"
42
+
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"
0 commit comments