[Bug 2066886] [NEW] /etc/netplan/50-cloud-init.yaml too specific

Heinrich Schuchardt 2066886 at bugs.launchpad.net
Thu May 23 09:35:51 UTC 2024


Public bug reported:

When installing a virtual machine with the live-installer it created
/etc/netplan/50-cloud-init.yaml with

network:
    ethernets:
        enp0s6:
            dhcp4: true
    version: 2

When I rebooted I had a device enp0s4 and no network.

Wouldn't it be preferable to write a less restrictive 50-cloud-init.yaml
which encompasses all Ethernet devices and marks them as optional:

network:
    version: 2
    ethernets:
        all-en:
            match:
                name: "en*"
            dhcp4: true
            optional: true

** Affects: subiquity (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  /etc/netplan/50-cloud-init.yaml too specific

Status in subiquity package in Ubuntu:
  New

Bug description:
  When installing a virtual machine with the live-installer it created
  /etc/netplan/50-cloud-init.yaml with

  network:
      ethernets:
          enp0s6:
              dhcp4: true
      version: 2

  When I rebooted I had a device enp0s4 and no network.

  Wouldn't it be preferable to write a less restrictive 50-cloud-
  init.yaml which encompasses all Ethernet devices and marks them as
  optional:

  network:
      version: 2
      ethernets:
          all-en:
              match:
                  name: "en*"
              dhcp4: true
              optional: true

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/2066886/+subscriptions




More information about the foundations-bugs mailing list