diff --git a/pkg/drivers/kic/kic.go b/pkg/drivers/kic/kic.go index 9fae7a457c00..beb7ce2addd9 100644 --- a/pkg/drivers/kic/kic.go +++ b/pkg/drivers/kic/kic.go @@ -109,6 +109,9 @@ func (d *Driver) Create() error { } else if gateway != nil && staticIP != "" { params.Network = networkName params.IP = staticIP + } else if gateway == nil && staticIP != "" { + params.Network = networkName + params.IP = staticIP } else if gateway != nil { params.Network = networkName ip := gateway.To4()