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