summaryrefslogtreecommitdiff
path: root/backend/modules/install_main
diff options
context:
space:
mode:
Diffstat (limited to 'backend/modules/install_main')
-rw-r--r--backend/modules/install_main4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/modules/install_main b/backend/modules/install_main
index 18e1d7a..0b1fe01 100644
--- a/backend/modules/install_main
+++ b/backend/modules/install_main
@@ -182,7 +182,9 @@ function update_passwd_on_target()
for group in lpadmin scanner; do
chroot $TARGET addgroup --system $group >/dev/null 2>&1
done
- for group in adm audio cdrom dialout floppy video plugdev dip lpadmin lp scanner powerdev netdev; do
+ LIVE_USER_DEFAULT_GROUPS="audio cdrom dip floppy lp video plugdev netdev powerdev scanner bluetooth debian-tor fuse vboxusers"
+ [ -r /etc/live/config.conf ] && . /etc/live/config.conf
+ for group in $LIVE_USER_DEFAULT_GROUPS; do
chroot $TARGET adduser --force-badname "$cfg_username" $group >/dev/null 2>&1
done
}