[Bug 2143141] Re: [Ffe] Allow autoinstall users to specify groups

Olivier Gayot 2143141 at bugs.launchpad.net
Mon Mar 9 10:16:25 UTC 2026


Thank you Graham, change merged.

** Changed in: subiquity
       Status: New => Fix Committed

** Changed in: subiquity (Ubuntu)
       Status: Triaged => Fix Committed

-- 
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/2143141

Title:
  [Ffe] Allow autoinstall users to specify groups

Status in subiquity:
  Fix Committed
Status in subiquity package in Ubuntu:
  Fix Committed

Bug description:
  Request
  -------
  We want Subiquity to grow built-in support for selecting which groups the primary user should belong to.
  This will only be available to autoinstall users and will take the form of a new directive called "groups" in the autoinstall identity section.

  We are past FF for resolute, so I would like to request an exception.

  Why Needed
  ----------
  In resolute, we have added builtin support for creating the primary user *during* the installation, instead of relying on cloud-init (which operates on first boot) like we used to (see bug 2090834).

  We want people to move away from cloud-init and use the built-in
  mechanism. Unfortunately, unlike cluod-init, the new mechanism did not
  support specifying the list of groups that the primary user should
  belong to. This is a blocker for some people.

  With most of our autoinstall user-base running Ubuntu LTSe only,
  delaying the addition of groups support will significantly delay the
  adoption of the new mechanism.

  What changed
  ------------
  People using autoinstall will now be able to specify extra groups or to overwrite hard-coded groups (i.e., admin, sudo) using one of the following syntax:

    # Add the user to the wireshark group in addition to hard-coded groups
    groups: {append: [wireshark]}

    # Two equivalent ways to specify the list of groups, ignoring hard-coded values (i.e., sudo, admin)
    groups: [sudo, admin, lpadmin]
    groups: {override: [sudo, admin, lpadmin]}

  The behavior for interactive installations (using Subiquity's TUI or
  ubuntu-desktop-bootstrap) stays unchanged. The default behavior (when
  the groups directive is not specified) is also unchanged.

  Code to be merged
  -----------------
  https://github.com/canonical/subiquity/pull/2265

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




More information about the foundations-bugs mailing list