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.
Richard Laager 2019-03-18 21:07:19 -05:00
parent cffdb36aa1
commit 8baf0569aa
1 changed files with 2 additions and 2 deletions

@ -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