aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/interface.json
diff options
context:
space:
mode:
Diffstat (limited to 'etc/os-net-config/samples/interface.json')
-rw-r--r--etc/os-net-config/samples/interface.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/interface.json b/etc/os-net-config/samples/interface.json
index 9fd5cf3..8a942b5 100644
--- a/etc/os-net-config/samples/interface.json
+++ b/etc/os-net-config/samples/interface.json
@@ -7,7 +7,20 @@
{
"ip_netmask": "192.0.2.1/24"
}
+ ],
+ "routes": [
+ {
+ "ip_netmask": "0.0.0.0/0",
+ "next_hop": "192.0.2.254",
+ "default": "true"
+ }
]
+ },
+ {
+ "type": "interface",
+ "name": "em2",
+ "use_dhcp": true,
+ "defroute": no
}
]
}