[Bug 2107225] Re: Disable cloud-init network config in Desktop ISO

Launchpad Bug Tracker 2107225 at bugs.launchpad.net
Sun May 4 20:50:55 UTC 2025


This bug was fixed in the package livecd-rootfs - 25.10.1

---------------
livecd-rootfs (25.10.1) questing; urgency=medium

  * desktop: no longer involve cloud-init in early networking (LP: #2107225)
  * server: provide network config direct to netplan
  * server: update default netplan config for IPv6 autoconfiguration &
    connectivity

 -- Dan Bungert <daniel.bungert at canonical.com>  Mon, 28 Apr 2025
09:53:34 -0600

** Changed in: livecd-rootfs (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  Disable cloud-init network config in Desktop ISO

Status in livecd-rootfs package in Ubuntu:
  Fix Released

Bug description:
  The Desktop ISO installer enables cloud-init to allow automation with
  Subiquity autoinstall. Currently, cloud-init probes & configures
  networking in the live environment. As described in cloud-init#6110,
  this does not appear to be necessary as NetworkManager should manage
  network connectivity in this context.

  To be clear, I am proposing this as a workaround for cloud-init#6110.

  My understanding of the proposed first steps here are to drop the
  configuration from [2] and instead write netplan configuration in the
  ISOs directly.

  One possible pitfall:

  I did a little bit of additional testing and found that configuring a
  static IP on the kernel command line in combination with disabled
  cloud-init network-config generated DNS issues:

  vmlinuz ip=10.183.135.99::10.183.135.1:255.255.255.0::::10.183.135.1
  network-config=disabled

  The static IP works alright but `resolvectl status` showed no
  configured DNS servers. A `netplan apply` was sufficient to fix it, as
  initramfs-tools converts the cmdline into a netplan configuration.

  [1] https://github.com/canonical/cloud-init/issues/6110
  [2] https://git.launchpad.net/livecd-rootfs/tree/live-build/ubuntu/includes.chroot.minimal.standard.live/etc/cloud/cloud.cfg#n23

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2107225/+subscriptions




More information about the foundations-bugs mailing list