From edce238d9a2b7691ec99496b76453aa28bb8a05c Mon Sep 17 00:00:00 2001 From: ggiesen Date: Mon, 30 Nov 2020 17:56:13 -0500 Subject: [PATCH 1/2] Update documentation for network-config-format-v2 Routes are a per-interface property, not a global network property --- doc/rtd/topics/network-config-format-v2.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/rtd/topics/network-config-format-v2.rst b/doc/rtd/topics/network-config-format-v2.rst index aa17bef5c39..5465a68010c 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 .. vi: textwidth=78 From 09ce5492f32cf183e0cfe9220d895e617a85270e Mon Sep 17 00:00:00 2001 From: ggiesen Date: Wed, 2 Dec 2020 12:13:34 -0500 Subject: [PATCH 2/2] Update netplan URL --- doc/rtd/topics/network-config-format-v2.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/rtd/topics/network-config-format-v2.rst b/doc/rtd/topics/network-config-format-v2.rst index 5465a68010c..69c7452b096 100644 --- a/doc/rtd/topics/network-config-format-v2.rst +++ b/doc/rtd/topics/network-config-format-v2.rst @@ -512,5 +512,5 @@ This is a complex example which shows most available features: :: link: id0 dhcp4: yes -.. _netplan: https://launchpad.net/netplan +.. _netplan: https://netplan.io .. vi: textwidth=78