Skip to content
Snippets Groups Projects
Commit 0800afeb authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.

parent c19f8657
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ if [ "$vnet_ipv6" = 1 ]; then
fi
# bug fix: some VM size (M96s_v3) doesnt support Trusted Launch, but --security-type Standard broken in azcli 2.71.
if [ "$vmsize" = Standard_M*_v3 ]; then
if [[ "$vmsize" = Standard_M*_v3 ]]; then
if az --version | grep azure-cli | grep "2\\.7[123]\\." 2>/dev/null; then
echo_warn "Mitigation doesnt work. This VM size wont work with Trusted Launch, and azcli 2.71 doesnt allow --security-type Standard"
echo_warn "Please downgrade to azure-cli 2.70. https://github.com/Azure/azure-cli/issues/31191"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment