1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 22:32:14 +00:00

fix the ip/cidr, and call updateNetwork

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-03-08 22:03:08 +10:00
parent 0779e13d46
commit b5fdd63a85
5 changed files with 38 additions and 11 deletions

View File

@@ -41,6 +41,7 @@ func parseNetwork(netdata netconf.NetworkConfig, nameservers []net.IP) ([]Interf
var interfaces []InterfaceGenerator
var addresses []net.IPNet
var routes []route
// TODO: commented out because we don't use it - should combine with the code we do use...
/* for _, netblock := range netdata.Netblocks {
addresses = append(addresses, net.IPNet{
IP: netblock.Address,