Skip to content

Commit d286731

Browse files
authored
Updating the controller username and password.
Updating the azdata prereqs.
1 parent 93a5a05 commit d286731

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

samples/features/azure-arc/deployment/kubeadm/ubuntu-single-node-vm/setup-controller.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
# Get controller username and password as input. It is used as default for the controller.
44
#
5-
if [ -z "$CONTROLLER_USERNAME" ]
5+
if [ -z "$AZDATA_USERNAME" ]
66
then
77
read -p "Create Username for Azure Arc Data Controller: " username
88
echo
9-
export CONTROLLER_USERNAME=$username
9+
export AZDATA_USERNAME=$username
1010
fi
11-
if [ -z "$CONTROLLER_PASSWORD" ]
11+
if [ -z "$AZDATA_PASSWORD" ]
1212
then
1313
while true; do
1414
read -s -p "Create Password for Azure Arc Data Controller: " password
@@ -18,7 +18,7 @@ then
1818
[ "$password" = "$password2" ] && break
1919
echo "Password mismatch. Please try again."
2020
done
21-
export CONTROLLER_PASSWORD=$password
21+
export AZDATA_PASSWORD=$password
2222
fi
2323

2424
# Prompt for private preview repository username and password provided by Microsoft
@@ -110,7 +110,7 @@ cd setupscript/
110110

111111
# Download and install azdata prerequisites
112112
#
113-
sudo apt install -y libodbc1 odbcinst odbcinst1debian2 unixodbc
113+
sudo apt install -y libodbc1 odbcinst odbcinst1debian2 unixodbc apt-transport-https libkrb5-dev
114114

115115
# Download and install azdata package
116116
#

0 commit comments

Comments
 (0)