netplan-get(8)

netplan-get8

Read merged netplan yaml configuration

Usage

netplan {[--debug] get -h | --help}

netplan [--debug] get [--root-dir=ROOT_DIR] [key]

Overview

netplan get key reads all YAML files from /{etc,lib,run}/netplan/*.yaml and returns a merged view of the current configuration.

You can specify all as a key (the default) to get the full YAML tree or extract a subtree by specifying a nested key like: [network.]ethernets.eth0.

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

Options

-h, --help

Print basic help.

--debug

Print debugging output during the process.

--root-dir

Read YAML files from this root instead of /.

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

--debug since Debian 12 (Bookworm); --help since Debian 12 (Bookworm); --root-dir since Debian 12 (Bookworm); -h since Debian 12 (Bookworm).

Authors

Lukas Märdian ([email protected]).

From netplan 1.2.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.