From 7ec314a96e764c52181e29902a27346b1021b000 Mon Sep 17 00:00:00 2001 From: ggiesen Date: Wed, 9 Dec 2020 13:07:10 -0500 Subject: Update documentation for network-config-format-v2 (#701) Update documentation for network-config-format-v2 to reflect the fact that routes are a per-interface property, not a global network property. --- doc/rtd/topics/network-config-format-v2.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/rtd/topics/network-config-format-v2.rst b/doc/rtd/topics/network-config-format-v2.rst index aa17bef5..69c7452b 100644 --- a/doc/rtd/topics/network-config-format-v2.rst +++ b/doc/rtd/topics/network-config-format-v2.rst @@ -478,6 +478,11 @@ This is a complex example which shows most available features: :: nameservers: search: [foo.local, bar.local] addresses: [8.8.8.8] + # static routes + routes: + - to: 192.0.2.0/24 + via: 11.0.0.1 + metric: 3 lom: match: driver: ixgbe @@ -506,11 +511,6 @@ This is a complex example which shows most available features: :: id: 1 link: id0 dhcp4: yes - # static routes - routes: - - to: 0.0.0.0/0 - via: 11.0.0.1 - metric: 3 -.. _netplan: https://launchpad.net/netplan +.. _netplan: https://netplan.io .. vi: textwidth=78 -- cgit v1.2.3