Netplan: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
</pre> | </pre> | ||
Configure a file in <code>/etc/netplan</code> | Configure a file in <code>/etc/netplan</code>. '''NOTE: This file must have consistent indendation.''' Either use all spaces or all tabs. | ||
Try the new config: | Try the new config: |
Latest revision as of 16:35, 28 January 2019
https://www.linux.com/learn/intro-to-linux/2018/9/how-use-netplan-network-configuration-tool-linux
To show all network devices and their status:
ip a
Configure a file in /etc/netplan
. NOTE: This file must have consistent indendation. Either use all spaces or all tabs.
Try the new config:
netplan try
Apply the new config:
netplan apply