Doing a clean install of Ubuntu Server 18.04 on a new machine. Currently attempting to configure my Ethernet network interface to use DHCP using netplan
.
My config file, dynamic.yaml, reads as follows:
network:
version: 2
renderer: networkd
ethernets:
eno1:
dhcp4: true
When I attempt to load this configuration with
sudo netplan try
I get an error which reads:
Error while loading /etc/netplan/dynamic.yaml, aborting.
sudo netplan --debug try
merely prints out "ERROR:Error while loading /etc/netplan/dynamic.yaml, aborting."
Any ideas what the error is? Or does anyone have any suggestions for how to get netplan to actually specify what the error is?
netplan-try
manual page suggests there's a--debug
switch: have you triedsudo netplan --debug try
?sudo netplan --debug generate
give any more clues?od -bc /etc/netplan/dynamic.yaml
. Check for TABs, spaces, End-Of-Line, spurious^M
, bytes > 128. Didn't we learn fromMakefile
syntactic sensitivity?