diff --git a/pkg/dataplane/baremetal.go b/pkg/dataplane/baremetal.go index acf45ff2e..b9ffe4125 100644 --- a/pkg/dataplane/baremetal.go +++ b/pkg/dataplane/baremetal.go @@ -89,6 +89,7 @@ func DeployBaremetalSet( return fmt.Errorf("%s gateway is missing", dataplanev1.CtlPlaneNetwork) } baremetalSet.Spec.CtlplaneGateway = *res.Gateway + baremetalSet.Spec.CtlplaneNetmask = string(ipNet.Mask) baremetalSet.Spec.BootstrapDNS = dnsAddresses baremetalSet.Spec.DNSSearchDomains = []string{res.DNSDomain} }