add remove root account setup in the preseed file

This commit is contained in:
manuel 2023-10-13 21:22:15 +00:00
parent ec6ddc4e72
commit dea58715af
2 changed files with 5 additions and 3 deletions

View File

@ -26,4 +26,7 @@ d-i apt-setup/security_host string security.debian.org
# Remove popularity-contest # Remove popularity-contest
popularity-contest popularity-contest/participate boolean false popularity-contest popularity-contest/participate boolean false
### Account setup
# Skip creation of a root account (normal user account will be able to
# use sudo).
d-i passwd/root-login boolean false

View File

@ -17,8 +17,7 @@ chroot /target apt purge --autoremove -y \
connman \ connman \
deluge \ deluge \
galculator \ galculator \
raspi-firmware \ raspi-firmware
morph-browser
# Clean unnecessary files # Clean unnecessary files
rm -r /target/boot/firmware rm -r /target/boot/firmware