diff options
Diffstat (limited to 'netboot')
-rw-r--r-- | netboot/netconf.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/netboot/netconf.go b/netboot/netconf.go index 3cc5232..ec6a5e1 100644 --- a/netboot/netconf.go +++ b/netboot/netconf.go @@ -177,6 +177,7 @@ func IfUp(ifname string, timeout time.Duration) (netlink.Link, error) { if err := netlink.LinkSetUp(iface); err != nil { return nil, fmt.Errorf("interface %q: %v can't make it up: %v", ifname, iface, err) } + time.Sleep(10 * time.Millisecond) } return nil, fmt.Errorf("timed out while waiting for %s to come up", ifname) |