Ubuntu 19.04 Network Boot Delay and Setting NIC to Optional via Netplan

Last Updated on

Ubuntu 19.04 changes the way network interfaces are maintained.  No longer /etc/network/interfaces – now we have netplan.  This can cause some confusion when initially migrating to 19.04.

Edit the new configuration file: vi /etc/netplan/50-cloud-init.yaml and add the “optional: true” flag.

1
2
3
4
5
6
7
8
9
10
11
12
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network
:

ethernets
:
     enp4s0
:
          dhcp4
: true
          optional
: true
     version
: 2
Lima

About the author

Lima is the visual nautical indicator for "stop instantly."

Comments

Leave a Reply