summaryrefslogtreecommitdiff
path: root/useraddhook/customize.sh
AgeCommit message (Collapse)Author
2024-06-26useraddhook: support autologin for greetd/swayJochen Sprickerhof
2024-05-15useraddhook: rename USERNAME environment variable to be less genericHelmut Grohne
USERNAME has uses beyond e.g. in a Windows context, so avoid that. Then again, this hook may be useful beyond debvm and is installed to /usr/share/mmdebstrap, so don't use a DEBVM_ prefix either. Reported-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
2024-03-28useraddhook: tell which customizations are performedHelmut Grohne
2024-03-28autologinhook: automatically log in with lightdmHelmut Grohne
2024-03-28useraddhook: make username customizableHelmut Grohne
2023-01-13debvm-create: remove --package optionHelmut Grohne
This option was meant to make it convenient to add packages, but mmdebstrap's --include provides the same convenience at more flexibility. You can provide apt patterns there provided that you use multiple --include options. So rather than duplicate this functionality under a different name, just refer to mmdebstrap thus reinforcing the notion of being a thin wrapper. This also removes the convenience of overriding the kernel image. You need to use --skip=kernel when passing --include=linux-image-something to mmdebstrap now. This implements "explicit is better than implicit".
2023-01-04add useraddhook/customize.shJohannes Schauer Marin Rodrigues
- the new user is called "user" - no password required for login - requires the passwd package installed inside the chroot - this adds the new user to the sudo group if it exists - requires the passwd and coreutils packages installed inside the chroot - adds the new user to the sudo group if it exists - ~/.ssh/authorized_keys files is copied from root user if it exists