We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6b2905b + 5fb012f commit 384ac46Copy full SHA for 384ac46
examples/generate.sh
@@ -205,6 +205,10 @@ record_and_export VSPHERE_FOLDER ':-'
205
record_and_export VSPHERE_TEMPLATE ':-'
206
record_and_export SSH_AUTHORIZED_KEY ":-''"
207
208
+# single quote string variables that can start with special characters like "*"
209
+# otherwise invalid yaml will be generated
210
+export VSPHERE_RESOURCE_POOL="'${VSPHERE_RESOURCE_POOL}'"
211
+
212
verify_cpu_mem_dsk() {
213
eval "[[ \${${1}-} =~ [[:digit:]]+ ]] || ${1}=\"${2}\"; \
214
[ \"\${${1}}\" -ge \"${2}\" ] || { echo \"${1} must be >= ${2}\" 1>&2; exit 1; }; \
0 commit comments