From bde3ca97dfd2120896529b782c1c379ed151d1cf Mon Sep 17 00:00:00 2001 From: Jack Francis Date: Tue, 31 Jul 2018 10:23:56 -0700 Subject: [PATCH] add VM SKUs to acceleratedNetworking blacklist (#3590) --- pkg/helpers/helpers.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkg/helpers/helpers.go b/pkg/helpers/helpers.go index 954cd3f339..3dc681abad 100644 --- a/pkg/helpers/helpers.go +++ b/pkg/helpers/helpers.go @@ -89,6 +89,15 @@ func CreateSSH(rg io.Reader, s *i18n.Translator) (privateKey *rsa.PrivateKey, pu // AcceleratedNetworkingSupported check if the VmSKU support the Accelerated Networking func AcceleratedNetworkingSupported(sku string) bool { + if strings.Contains(sku, "Standard_D2s_v3") { + return false + } + if strings.Contains(sku, "Standard_DS3") { + return false + } + if strings.Contains(sku, "Standard_D2_v3") { + return false + } if strings.Contains(sku, "Standard_A") { return false }