parent
b6dd67b73d
commit
cf79357bba
|
@ -263,7 +263,7 @@ func updateNetwork(d *DropletT, domcfg *libvirtxml.Domain) ([]*pb.Event, error)
|
|||
return nil, errors.New("bridge is nil and no mac address")
|
||||
}
|
||||
brname = ""
|
||||
}
|
||||
} else {
|
||||
if iface.Source.Bridge.Bridge == "" {
|
||||
if hwaddr == "" {
|
||||
fmt.Printf("non-standard network: %+v\n", iface)
|
||||
|
@ -276,6 +276,7 @@ func updateNetwork(d *DropletT, domcfg *libvirtxml.Domain) ([]*pb.Event, error)
|
|||
}
|
||||
brname = iface.Source.Bridge.Bridge
|
||||
}
|
||||
}
|
||||
// log.Info("network has bridge:", iface.Source.Bridge.Bridge)
|
||||
if hwaddr == "" {
|
||||
hwaddr = "generate " + domcfg.Name
|
||||
|
|
Loading…
Reference in New Issue