1
0
mirror of https://github.com/rancher/os.git synced 2025-09-19 17:38:30 +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

@@ -96,8 +96,8 @@ func TestFetchMetadata(t *testing.T) {
Interfaces: map[string]netconf.InterfaceConfig{
"eth0": netconf.InterfaceConfig{
Addresses: []string{
"192.168.1.2/255.255.255.0",
"fe00::",
"192.168.1.2/24",
"fe00::/126",
},
//Netmask: "255.255.255.0",
Gateway: "192.168.1.1",