Comment 18 for bug 1619258

Revision history for this message
Tyler Bennett (tbennett6421) wrote :

What is the actual fix for this. I have run into this multiple times. Is there a specific edit that needs to be made to the stanza in netplan? After reviewing the netplan docs I was unable to find a corresponding directive for allow-hotplug with /etc/network/interfaces.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal

$ sudo dpkg --list | grep netplan
ii libnetplan0:amd64 0.104-0ubuntu2~20.04.1
ii netplan.io 0.104-0ubuntu2~20.04.1

```yaml
network:
  ethernets:
    eno1:
      dhcp4: true
    eno2:
      dhcp4: true
    eno3:
      dhcp4: true
    eno4:
      dhcp4: true
    enp130s0:
      dhcp4: true
    enp130s0d1:
      dhcp4: true
    enp134s0f0:
      dhcp4: true
    enp134s0f1:
      dhcp4: true
    enp135s0f0:
      dhcp4: true
    enp135s0f1:
      dhcp4: true
  version: 2
```