Skip to content

Commit

Permalink
docs: small fix on netplan-set doc
Browse files Browse the repository at this point in the history
The key should be "addresses" not "dhcp4".
  • Loading branch information
daniloegea authored and slyon committed Jan 19, 2023
1 parent bc751e7 commit bfa82ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/netplan-set.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ netplan-set - write netplan YAML configuration snippets to file

**netplan set [key=value]** writes a given key/value pair or YAML subtree into a YAML file in ``/etc/netplan/`` and validates its format.

You can specify a single value as: ``"[network.]ethernets.eth0.dhcp4=[1.2.3.4/24, 5.6.7.8/24]"`` or a full subtree as: ``"[network.]ethernets.eth0={dhcp4: true, dhcp6: true}"``.
You can specify a single value as: ``"[network.]ethernets.eth0.addresses=[1.2.3.4/24, 5.6.7.8/24]"`` or a full subtree as: ``"[network.]ethernets.eth0={dhcp4: true, dhcp6: true}"``.

For details of the configuration file format, see **netplan**(5).

Expand Down

0 comments on commit bfa82ad

Please sign in to comment.