network: static routes via DHCP gateway

This makes Gateway= also take "DHCP". If "DHCP" is set, then the gateway
address provided by DHCP or IPv6 RA is used.

Closes #8213.
This commit is contained in:
Yu Watanabe
2020-01-07 19:10:54 +09:00
parent 0e97a910a6
commit 1985c54ff3
6 changed files with 69 additions and 4 deletions
+3 -1
View File
@@ -1216,7 +1216,9 @@
<varlistentry>
<term><varname>Gateway=</varname></term>
<listitem>
<para>As in the <literal>[Network]</literal> section.</para>
<para>Takes the gateway address or special value <literal>dhcp</literal>. If
<literal>dhcp</literal>, then the gateway address provided by DHCP (or in the IPv6 case,
provided by IPv6 RA) is used.</para>
</listitem>
</varlistentry>
<varlistentry>