Skip to content

Commit

Permalink
test/cases/ubi-wsl: set --os-type when creating vm
Browse files Browse the repository at this point in the history
Solves `invalid usage for storage profile: attach existing managed OS disk`.
  • Loading branch information
croissanne committed Sep 15, 2023
1 parent eb8b63f commit 360df12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/cases/ubi-wsl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ $AZURE_CMD vm create \
--location "$AZURE_WSL_LOCATION" \
--nic-delete-option delete \
--os-disk-delete-option delete \
--os-type windows \
--size "Standard_D2as_v5"

$AZURE_CMD vm open-port --resource-group "$AZURE_RESOURCE_GROUP" --name "wsl-vm-$TEST_ID" --port 22
Expand Down

0 comments on commit 360df12

Please sign in to comment.