Skip to content

Commit

Permalink
re testing cvm failure with different vm create options
Browse files Browse the repository at this point in the history
  • Loading branch information
pineapplethevoyager committed Feb 20, 2025
1 parent 0599f2f commit 9af300b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vhdbuilder/packer/test/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fi

if [ "${OS_TYPE}" == "Linux" ] && grep -q "cvm" <<< "$FEATURE_FLAGS"; then
# We completely re-assign the TARGET_COMMAND_STRING string here to ensure that no artifacts from earlier conditionals are included
TARGET_COMMAND_STRING="--size Standard_DC8ads_v5 --security-type ConfidentialVM --enable-secure-boot true --enable-vtpm true --os-disk-security-encryption-type VMGuestStateOnly --specialized true"
TARGET_COMMAND_STRING="--size Standard_DC8ads_v5 --security-type ConfidentialVM --enable-secure-boot true --enable-vtpm true --os-disk-security-encryption-type VMGuestStateOnly --public-ip-sku Standard"
fi

if [ "${OS_TYPE,,}" == "linux" ]; then
Expand All @@ -97,7 +97,7 @@ if [ "${OS_TYPE,,}" == "linux" ]; then
--image "$MANAGED_SIG_ID" \
--admin-username "$TEST_VM_ADMIN_USERNAME" \
--admin-password "$TEST_VM_ADMIN_PASSWORD" \
--nics "$TESTING_NIC_ID" \
# --nics "$TESTING_NIC_ID" \
${TARGET_COMMAND_STRING}
else
az vm create \
Expand Down

0 comments on commit 9af300b

Please sign in to comment.