Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
add VM SKUs to acceleratedNetworking blacklist (#3590)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis committed Jul 31, 2018
1 parent 1b8fa81 commit bde3ca9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/helpers/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit bde3ca9

Please sign in to comment.