diff --git a/coreos-cloudinit.go b/coreos-cloudinit.go index 16c7035..0bd6026 100644 --- a/coreos-cloudinit.go +++ b/coreos-cloudinit.go @@ -163,7 +163,7 @@ func main() { os.Exit(1) } - if ccm != nil && ccm.NetworkConfigPath != "" { + if ccm != nil { fmt.Printf("Fetching network config from datasource of type %q\n", ds.Type()) netconfBytes, err := ds.FetchNetworkConfig(ccm.NetworkConfigPath) if err != nil {