Name
netplan-get - read merged netplan YAML configuration
Synopsis
\f[B]netplan\f[R] [--debug] \f[B]get\f[R] -h | --help
\f[B]netplan\f[R] [--debug] \f[B]get\f[R] [--root-dir=ROOT_DIR] [key]
Description
\f[B]netplan get [key]\f[R] reads all YAML files from \f[V]/{etc,lib,run}/netplan/*.yaml\f[R] and returns a merged view of the current configuration
You can specify \f[V]all\f[R] as a key (the default) to get the full YAML tree or extract a subtree by specifying a nested key like: \f[V][network.]ethernets.eth0\f[R].
For details of the configuration file format, see \f[B]netplan\f[R](5).
Options
-h, --help Print basic help.
--debug Print debugging output during the process.
--root-dir Read YAML files from this root instead of /
See Also
\f[B]netplan\f[R](5), \f[B]netplan-set\f[R](8), \f[B]netplan-dbus\f[R](8)