Public bug reported:

When booting an rpi that does not have built-in ethernet (such as cm3,
rpi3a+, etc) with the release candidate images for groovy, no ethernet
interface is configured after starting when a usb ethernet dongle is
used.  The interface is detected, but not configured.

In /etc/netplan/50-cloud-init.yaml for the groovy image it has:
# This file is generated from information provided by the datasource.  Changes
# to it will not persist across an instance reboot.  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:
        eth0:
            dhcp4: true
            match:
                driver: bcmgenet smsc95xx lan78xx
            optional: true
            set-name: eth0
    version: 2

This did used to work correctly in focal, probably because the driver 
restriction wasn't present. This is the yaml that was generated for the focal 
image:
# This file is generated from information provided by the datasource.  Changes
# to it will not persist across an instance reboot.  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:
        eth0:
            dhcp4: true
            optional: true
    version: 2

In my case, the usb dongle I have seems to use the ax88179_178a driver,
but presumably others would fail in the same way.

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900904

Title:
  netplan yaml for rpi groovy server prevents usb ethernet

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1900904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to