зеркало из https://github.com/Azure/acs-engine.git
Dont set default distro when OSType is Windows (#3950)
This commit is contained in:
Родитель
514dfda3a8
Коммит
64a314a222
|
@ -446,7 +446,7 @@ func setAgentProfileDefaults(a *api.Properties, isUpgrade, isScale bool) {
|
|||
profile.AcceleratedNetworkingEnabledWindows = helpers.PointerToBool(api.DefaultAcceleratedNetworkingWindowsEnabled)
|
||||
}
|
||||
|
||||
if profile.Distro == "" {
|
||||
if profile.Distro == "" && profile.OSType != api.Windows {
|
||||
if a.OrchestratorProfile.IsKubernetes() {
|
||||
if profile.OSDiskSizeGB != 0 && profile.OSDiskSizeGB < api.VHDDiskSizeAKS {
|
||||
profile.Distro = api.Ubuntu
|
||||
|
|
Загрузка…
Ссылка в новой задаче