diff --git a/pkg/hostman/hostinfo/hostinfo.go b/pkg/hostman/hostinfo/hostinfo.go index a8047b54e4..450664091c 100644 --- a/pkg/hostman/hostinfo/hostinfo.go +++ b/pkg/hostman/hostinfo/hostinfo.go @@ -780,6 +780,7 @@ func (h *SHostInfo) tryCreateNetworkOnWire() { params.Set("mask", jsonutils.NewInt(int64(mask))) params.Set("is_classic", jsonutils.JSONTrue) params.Set("server_type", jsonutils.NewString(api.NETWORK_TYPE_BAREMETAL)) + params.Set("is_on_premise", jsonutils.JSONTrue) ret, err := modules.Networks.PerformClassAction( hostutils.GetComputeSession(context.Background()), "try-create-network", params)