From bfcec6cd419923b804d8f61a9a36d316cc6786ba Mon Sep 17 00:00:00 2001 From: Jack Francis Date: Mon, 29 Jan 2018 10:02:31 -0800 Subject: [PATCH] validation error if custom VNET + Windows --- pkg/api/vlabs/validate.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/api/vlabs/validate.go b/pkg/api/vlabs/validate.go index 57b047e1b6..4c0d2263ff 100644 --- a/pkg/api/vlabs/validate.go +++ b/pkg/api/vlabs/validate.go @@ -819,6 +819,9 @@ func validateVNET(a *Properties) error { } } if isCustomVNET { + if a.HasWindows() { + return fmt.Errorf("custom VNET not yet supported with Windows-enabled clusters") + } subscription, resourcegroup, vnetname, _, e := GetVNETSubnetIDComponents(a.MasterProfile.VnetSubnetID) if e != nil { return e