Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jammy] patch: Retain old groups in default user template #4265

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
cloud-init (23.2-0ubuntu0~22.04.1ubuntu2) UNRELEASED; urgency=medium

* d/patches/retain-old-groups.patch:
- Retain original groups in default group for ubuntu.
Mantic removed unneeded groups.

-- Brett Holman <[email protected]> Thu, 20 Jul 2023 15:07:36 -0600

cloud-init (23.2-0ubuntu0~22.04.1) jammy; urgency=medium

* d/control: Remove pep8 dependency. It is no longer used.
Expand Down
13 changes: 13 additions & 0 deletions debian/patches/retain-old-groups.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl
index e496c62c3..a4a4671a6 100644
--- a/config/cloud.cfg.tmpl
+++ b/config/cloud.cfg.tmpl
@@ -206,7 +206,7 @@ system_info:
name: ubuntu
lock_passwd: True
gecos: Ubuntu
- groups: [adm, cdrom, dip, lxd, sudo]
+ groups: [adm, audio, cdrom, dialout, dip, floppy, lxd, netdev, plugdev, sudo, video]
sudo: ["ALL=(ALL) NOPASSWD:ALL"]
shell: /bin/bash
{# SRU_BLOCKER: do not ship network renderers on Xenial, Bionic or Eoan #}
Loading