Hi All... My /config/includes.installer/preseed.cfg file seems to be working, except $USER is not being added to groups specified in the Account Setup portion for the installed image. So, after installing with the user MyName, if I run "groups $USER", it only returns "MyName: MyName sudo users" instead of audio video etc. The live image is fine. The prseed file is copied below. Any pointers to what is wrong would be highly appreciated.
Thanks. ********************************************* ### Language & Country d-i debian-installer/language string en d-i debian-installer/country string US d-i debian-installer/locale string en_US.UTF-8 # Keyboard selection. d-i keyboard-configuration/xkb-keymap select us ### Network configuration #netcfg will choose an interface that has link if possible. This makes it #skip displaying a list if there is more than one interface. d-i netcfg/choose_interface select auto d-i netcfg/use_autoconfig boolean true # Any hostname and domain names assigned from dhcp take precedence over # values set here. However, setting the values still prevents the questions # from being shown, even if values come from dhcp. d-i netcfg/get_hostname string myLinux d-i netcfg/get_domain string unassigned-domain # If you want the preconfiguration file to work on systems both with and # without a dhcp server, uncomment these lines and the static network # configuration below. d-i netcfg/dhcp_failed note d-i netcfg/dhcp_options select Configure network manually # If non-free firmware is needed for the network or other hardware, you can # configure the installer to always try to load it, without prompting. Or # change to false to disable asking. d-i hw-detect/load_firmware boolean true # Include all drivers (generic system) bootstrap-base base-installer/initramfs-tools/driver-policy select most ### Account setup # If set to false, skip creation of a root account (normal user account will be able to # use sudo). d-i passwd/root-login boolean false # The user account will be added to some standard initial groups. To # override that, use this. d-i passwd/user-default-groups string audio,video,dip,plugdev,bluetooth,netdev,sudo ### Clock and time zone setup # Controls whether or not the hardware clock is set to UTC. d-i clock-setup/utc boolean true # You may set this to any valid setting for $TZ; see the contents of # /usr/share/zoneinfo/ for valid values. d-i time/zone string Asia/Kolkata # Controls whether to use NTP to set the clock during the install d-i clock-setup/ntp boolean true # NTP server to use. The default is almost always fine here. d-i clock-setup/ntp-server pool.ntp.org ### Mirror settings d-i mirror/protocol string https d-i mirror/country string manual d-i mirror/https/hostname string deb.debian.org d-i mirror/https/directory string /debian/ d-i mirror/https/proxy string ### Apt setup d-i apt-setup/use_mirror boolean true d-i apt-setup/disable-cdrom-entries boolean true # This is fairly safe to set, it makes grub install automatically to the MBR # if no other operating system is detected on the machine. d-i grub-installer/only_debian boolean true # Avoid that last message about the install being complete. d-i finish-install/reboot_in_progress note ### LATE COMMANDS d-i preseed/late_command string \ ## Setting up archives on installed system #Main, contrib, non-free, backports echo "deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware" > /target/etc/apt/sources.list ; \ echo "deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware" >> /target/etc/apt/sources.list ; \ echo "deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware" >> /target/etc/apt/sources.list ; \ echo "deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware" >> /target/etc/apt/sources.list ; \ #Fastrack (See https://fasttrack.debian.net/) in-target apt-get update; \ in-target apt install fasttrack-archive-keyring; \ echo "deb https://fasttrack.debian.net/debian-fasttrack/ bookworm-fasttrack main contrib" >> /target/etc/apt/sources.list ; \ echo "deb https://fasttrack.debian.net/debian-fasttrack/ bookworm-backports-staging main contrib" >> /target/etc/apt/sources.list ; \ ##Changing GRUB menu labels sed -i "s/GRUB_DISTRIBUTOR.*/GRUB_DISTRIBUTOR='myLinux'/g" /target/etc/default/grub; \ sed -i "s/GNU\/Linux/Linux/g" /target/etc/grub.d/10_linux; \ in-target grub-mkconfig -o /boot/grub/grub.cfg;