test/cases/ubi-wsl: set --os-type when creating vm

Solves `invalid usage for storage profile: attach existing managed OS disk`.
This commit is contained in:
Sanne Raymaekers 2023-09-15 13:59:14 +02:00
parent eb8b63f3ca
commit 360df12548

View file

@ -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