Ubuntu: Use /etc/netplan/01-netcfg.yaml
This simplifies the instructions slightly and matches upstream Ubuntu installer behavior. Also, I've added a warning about changing "NAME" as that was a problem for someone a while back.
parent
cffdb36aa1
commit
8baf0569aa
|
@ -249,7 +249,8 @@ The `debootstrap` command leaves the new system in an unconfigured state. An al
|
||||||
Find the interface name:
|
Find the interface name:
|
||||||
# ip addr show
|
# ip addr show
|
||||||
|
|
||||||
# vi /mnt/etc/netplan/NAME.yaml
|
Adjust NAME below to match your interface name:
|
||||||
|
# vi /etc/netplan/01-netcfg.yaml
|
||||||
network:
|
network:
|
||||||
version: 2
|
version: 2
|
||||||
ethernets:
|
ethernets:
|
||||||
|
@ -566,7 +567,6 @@ Choose one of the following options:
|
||||||
|
|
||||||
**Hint**: If you are installing a full GUI environment, you will likely want to manage your network with NetworkManager:
|
**Hint**: If you are installing a full GUI environment, you will likely want to manage your network with NetworkManager:
|
||||||
|
|
||||||
# rm /etc/netplan/NAME.yaml
|
|
||||||
# vi /etc/netplan/01-netcfg.yaml
|
# vi /etc/netplan/01-netcfg.yaml
|
||||||
network:
|
network:
|
||||||
version: 2
|
version: 2
|
||||||
|
|
Loading…
Reference in New Issue