NETPLAN-GET(8)
๐ NETPLAN-GET โ read merged Netplan YAML configuration
okay bestie, so this is netplan-get, and it lives in the System Manager's Manual (section 8, for the record โ that's the "admin commands" section, iykyk). she's the read-only sibling of the netplan family and she's literally just here to show you your config. no cap.
โจ SYNOPSIS โจ
netplan [--debug] get -h|--help
netplan [--debug] get [--root-dir=ROOT_DIR] [key]
that's the whole vibe. two flavours: ask for help, or ask for config. ๐
๐ธ DESCRIPTION ๐ธ
so netplan get key reads all the YAML files from /{etc,lib,run}/netplan/*.yaml and gives you back a merged view of the current configuration. like a smoothie but for YAML. ๐ฆ
you can pass all as your key โ that's the default, fyi โ and you'll get the entire YAML tree dumped out. or, if you're being a picky little main character, you can extract just a subtree by specifying a nested key like:
[network.]ethernets.eth0.
slay. targeted. efficient. ๐
for the details of the configuration file format, pls go read netplan(5) โ she's the icon who explains all that.
๐ OPTIONS ๐
-h,--helpโ prints basic help. the "hi what does this do" button. ๐ซถ--debugโ prints debugging output during the process, so you can watch her work. very cunty of her. ๐ฅ--root-dirโ reads YAML files from this root instead of/. like, a different root entirely. no notes. โจ
๐ SEE ALSO ๐
(the squad. go say hi. ๐)
๐ AUTHORS ๐
Lukas Mรคrdian (lukas.maerdian@canonical.com). legend behaviour, honestly. ๐
๐ one lil reminder before you go: this page is netplan-get(8) from the System Manager's Manual โ the version/date stamp lives in that footer line, not in this chat. but you knew that. periodt. ๐งโโ๏ธ
anyway ily, go read your config ๐๐ฆ๐ธ
๐ฆ 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