diff options
| author | ggiesen <ggiesen@users.noreply.github.com> | 2020-12-09 13:07:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-09 13:07:10 -0500 |
| commit | 7ec314a96e764c52181e29902a27346b1021b000 (patch) | |
| tree | 991670db949e1671003084ff35c1f02116c6d9d2 | |
| parent | b8df254738a43b690d1f511bc5c13290140c7ed0 (diff) | |
| download | vyos-cloud-init-7ec314a96e764c52181e29902a27346b1021b000.tar.gz vyos-cloud-init-7ec314a96e764c52181e29902a27346b1021b000.zip | |
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.
| -rw-r--r-- | doc/rtd/topics/network-config-format-v2.rst | 12 |
1 files 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 |
