Do not quote azure image upload params (#549)

This commit is contained in:
Malte Poll 2022-11-14 15:31:50 +01:00 committed by GitHub
parent 14f0432624
commit 74a7a80153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,6 +151,7 @@ delete_image() {
az image delete -n "${AZURE_DISK_NAME}" -g "${AZURE_RESOURCE_GROUP_NAME}"
}
# shellcheck disable=SC2086
create_sig_version() {
if [[ -n ${AZURE_VMGS_PATH} ]]; then
local DISK
@ -180,11 +181,11 @@ create_sig_version() {
--gallery-name "${AZURE_GALLERY_NAME}" \
--gallery-image-definition "${AZURE_IMAGE_DEFINITION}" \
--gallery-image-version "${AZURE_IMAGE_VERSION}" \
--target-regions "${AZURE_REPLICATION_REGIONS}" \
"${AZURE_CVM_ENCRYPTION_ARGS}" \
--target-regions ${AZURE_REPLICATION_REGIONS} \
${AZURE_CVM_ENCRYPTION_ARGS} \
--replica-count 1 \
--replication-mode Full \
"${SOURCE}"
${SOURCE}
}
create_disk