Is possible through the netplan command show the final/global content of all the .yaml files prior to be applied?

Hello Friends

Taking in consideration the following answer in the following network:

Therefore the .yaml files located in the /etc/netplan directory are merged to create a final/global netplan configuration where all the settings were either merged or overridden according the case. Correct me if it is incorrect.

Question

  • Is possible through the netplan command show the final/global content of all the .yaml files prior to be applied?

It should be shown in the terminal itself and better if through a pipe is send to a file such as:

netplan <"show-final-configuration"> | tee /path/to/other/place/filename.yaml

Even more if you arrive to a server running some time and is known it is working with Netplan and is confirmed that the /etc/netplan directory has available many .yaml files

Extra Question

  • Is possible through the netplan command show the final/global content already applied of all the .yaml files?

Thank You

1 Like

The extra question can be ignored. It is resolved with the netplan get [all] command

3 Likes