We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cf5424 commit 0f571c1Copy full SHA for 0f571c1
scripts/create-cluster.sh
@@ -199,11 +199,11 @@ then
199
echo "Error: You must enter something"
200
exit 1
201
fi
202
- if [ ! -f "${INSTALLER_SSHKEY}" ]
203
- then
204
- echo "Error: File ${INSTALLER_SSHKEY} must exist!"
205
- exit 1
206
- fi
+fi
+if [ ! -f "${INSTALLER_SSHKEY}" ]
+then
+ echo "Error: File ${INSTALLER_SSHKEY} must exist!"
+ exit 1
207
208
SSH_KEY=$(cat ${INSTALLER_SSHKEY})
209
@@ -323,6 +323,9 @@ do
323
324
done
325
326
+# Delete the previous output file from create-bastion
327
+[ -f /tmp/bastionIp ] && rm /tmp/bastionIp
328
+
329
mkdir ${CLUSTER_DIR}
330
331
PowerVC-Tool \
0 commit comments