# NETPLAN-GET - read merged Netplan YAML configuration - man(8) - [phpMan]

[_NETPLAN-GET_(8)](https://www.chedong.com/phpMan.php/man/NETPLAN-GET/8/markdown)                                                                        [_NETPLAN-GET_(8)](https://www.chedong.com/phpMan.php/man/NETPLAN-GET/8/markdown)

## NAME
       **netplan-get **- read merged Netplan YAML configuration

## SYNOPSIS
       **netplan **[_--debug_] **get -h**|**--help**

       **netplan **[_--debug_] **get **[_--root-dir=ROOT_DIR_] [_key_]

## DESCRIPTION
       **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)](https://www.chedong.com/phpMan.php/man/netplan/5/markdown).

## 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
       [**netplan**(5)](https://www.chedong.com/phpMan.php/man/netplan/5/markdown), [**netplan-set**(8)](https://www.chedong.com/phpMan.php/man/netplan-set/8/markdown), [**netplan-dbus**(8)](https://www.chedong.com/phpMan.php/man/netplan-dbus/8/markdown)

## AUTHORS
       Lukas Märdian (<lukas.maerdian@canonical.com>).

                                                                                      [_NETPLAN-GET_(8)](https://www.chedong.com/phpMan.php/man/NETPLAN-GET/8/markdown)
