netplan-get
read merged Netplan YAML configuration
- Provided by: netplan.io (Version: 1.1.2-8ubuntu1~24.04.2)
- Report a bug
read merged Netplan YAML configuration
netplan [--debug] get -h|--help
netplan [--debug] get [--root-dir=ROOT_DIR] [key]
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).
Lukas Märdian (lukas.maerdian@canonical.com).