From 360df12548922be6c6f645c108737f54136c0a7c Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Fri, 15 Sep 2023 13:59:14 +0200 Subject: [PATCH] test/cases/ubi-wsl: set --os-type when creating vm Solves `invalid usage for storage profile: attach existing managed OS disk`. --- test/cases/ubi-wsl.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/cases/ubi-wsl.sh b/test/cases/ubi-wsl.sh index f43c235a5..fa79cf84c 100755 --- a/test/cases/ubi-wsl.sh +++ b/test/cases/ubi-wsl.sh @@ -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