Public bug reported:
Subiquity is adding offline installation of capability, using livecd-
rootfs squashfs that are generated in launchpad and shipped on the ISO.
These squashfsi have maas-rack-controller or maas meta-packages pre-
installed.
Upon install, the contents of these are copied to target disk, and
customized.
However, currently, this yields to the awkward situation that all MAASes
installed this way, have identical secret / db password / uuid, which is
not nice.
One option is for me to undo, all the things that
maas-*-controller.postinst did at the end of squashfs generation. And
then in post-install execute dpkg-reconfigure to complete initialisation
of all the uuids / random passwords / etc.
I fear that "undoing" all the config changes myself, in livecd-rootfs,
might be fragile, and may lag any changes that are done to in .postinst.
Thus I wonder, if maas would be open to support a "dpkg-reconfigure
later" mode.
Something like being sensitive to a stamp file [ ! -f /run/maas-no-
configure ] and if that is true, not initialize dbconfig database, not
generate db passwords, and so on.
Is this something maas packaging is willing to support? and I can work
on providing such a matching change to the postinst & livecd-rootfs.
** Affects: livecd-rootfs (Ubuntu)
Importance: Undecided
Status: New
** Affects: maas (Ubuntu)
Importance: Undecided
Status: New
** Also affects: livecd-rootfs (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/1764991
Title:
Ability to delay maas-*-controller configuration, until after install
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1764991/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs