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:
@@ -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",
|
||||
|
Reference in New Issue
Block a user