aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/interface.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'etc/os-net-config/samples/interface.yaml')
-rw-r--r--etc/os-net-config/samples/interface.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/interface.yaml b/etc/os-net-config/samples/interface.yaml
index 2e24ccc..4f76e07 100644
--- a/etc/os-net-config/samples/interface.yaml
+++ b/etc/os-net-config/samples/interface.yaml
@@ -6,3 +6,13 @@ network_config:
addresses:
-
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 \ No newline at end of file