[Bug 2083769] Re: Cannot use ansible in manual customization chroot

Paul Mars 2083769 at bugs.launchpad.net
Thu Oct 10 06:50:17 UTC 2024


The manual customization feature was initially designed to do very
simple things (on purpose) and is not a proper "hook" mechanism.


We are aware of the limitations of this mechanism and would like to redesign it at some point.

For now the "manual execute" stage is only about wrapping the given
script/command with a "chroot" call.

** Changed in: ubuntu-image
       Status: New => Confirmed

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

Title:
  Cannot use ansible in manual customization chroot

Status in Ubuntu Image:
  Confirmed

Bug description:
  It would be nice if the chroot had the following paths mounted/setup
  to allow running something like ansible inside with a local connection
  during the manual customization phase.

  - /proc
  - /dev/shm
  - /etc/resolve.conf
  - /run/systemd/resolve/stub-resolve.conf
  - /proc/sys
  - /proc/version_signature

  I've been able to work around this with a script to enrich the chroot
  with the required files and clean it up before the FS is finalized but
  it would be nice if the chroot supported this and there likely are
  other tools that would benefit from having these paths available as
  well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/2083769/+subscriptions




More information about the foundations-bugs mailing list