NETPLAN-SET(8)
โจ netplan-set(8) โจ
okay bestie, so this is the netplan-set page from the System Manager's Manual โ and it's literally the tool that writes your Netplan YAML config snippets to file. tiny tool, big main character energy. let's go ๐
๐ธ NAME ๐ธ
netplan-set โ write Netplan YAML configuration snippets to file ๐
๐ฆ SYNOPSIS ๐ฆ
netplan [--debug] set -h|--help
netplan [--debug] set [--root-dir=ROOT_DIR] [--origin-hint=ORIGIN_HINT]
[key=value]
๐ DESCRIPTION ๐
netplan set [key=value] writes whatever key/value pair โ or whole YAML subtree โ you hand it into a YAML file living in /etc/netplan/, and then it validates the format. like, it checks its own work, we love a self-aware icon โจ
you can pass a single value like this:
"[network.]ethernets.eth0.addresses=[1.2.3.4/24, 5.6.7.8/24]"
or a full subtree, like this:
"[network.]ethernets.eth0={dhcp4: true, dhcp6: true}"
๐ซถ for the deets on what the config file format actually looks like, go peek at netplan(5) โ it's giving reference material, iykyk.
๐ OPTIONS ๐
-h,--helpโ prints basic help. that's it, that's the whole vibe ๐--debugโ prints debugging output while the thing is running. for when you wanna see the receipts ๐ฅ--root-dirโ writes the YAML files into this root instead of/. like, redirecting home base โจ--origin-hintโ gives your config file a name, for example:70-netplan-set=>/etc/netplan/70-netplan-set.yaml. naming your child, iconic ๐
๐ SEE ALSO ๐
netplan(5), netplan-get(8), netplan-dbus(8) โ the rest of the friend group, go say hi ๐
๐ AUTHORS ๐
Lukas Mรคrdian (lukas.maerdian@canonical.com). thank you for your service ๐ซก๐
okay that's the whole page, bestie ๐ this one's from the System Manager's Manual and it's dated NETPLAN-SET(8) โ literally the last line of the original fr fr, so consider it your cute sign-off. slay, go write some YAML ๐โจ๐
๐ฆ where this page comes from
- arch rolling: netplan 1.2.2-1 ยท GPL-3.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms