Creating an Ubuntu 18.04 Server Foreman: Difference between revisions
(Created page with "Install Create a netplan in /etc/netplans (note that because it's YAML, indentation is important) <pre> network: version: 2 renderer: networkd ethernets: ens160: ...") |
No edit summary |
||
Line 1: | Line 1: | ||
Install | == Install == | ||
== Enable Netowrking == | |||
Create a netplan in /etc/netplans (note that because it's YAML, indentation is important) | Create a netplan in /etc/netplans (note that because it's YAML, indentation is important) | ||
<pre> | <pre> | ||
Line 10: | Line 10: | ||
dhcp4: true | dhcp4: true | ||
</pre> | </pre> | ||
Apply the netplan | |||
<pre>sudo netplan apply</pre> | |||
Verify that it worked | |||
<pre>ifconfig</pre> |
Revision as of 17:13, 18 August 2019
Install
Enable Netowrking
Create a netplan in /etc/netplans (note that because it's YAML, indentation is important)
network: version: 2 renderer: networkd ethernets: ens160: dhcp4: true
Apply the netplan
sudo netplan apply
Verify that it worked
ifconfig