forked from josch/mmdebstrap
follow adduser's changes in example: --gecos => --comment
Considered References: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#adduser-changes /usr/share/doc/adduser/NEWS.Debian.gz (from adduser v3.134) https://manpages.debian.org/bookworm/adduser/adduser.8.en.html
This commit is contained in:
parent
113532b3e1
commit
286cecc21b
1 changed files with 1 additions and 1 deletions
|
@ -7467,7 +7467,7 @@ translated manual packages (but not the untranslated ones), and documentation
|
|||
Create a bootable USB Stick that boots into a full Debian desktop:
|
||||
|
||||
$ mmdebstrap --aptopt='Apt::Install-Recommends "true"' --customize-hook \
|
||||
'chroot "$1" adduser --gecos user --disabled-password user' \
|
||||
'chroot "$1" adduser --comment user --disabled-password user' \
|
||||
--customize-hook='echo 'user:live' | chroot "$1" chpasswd' \
|
||||
--customize-hook='echo host > "$1/etc/hostname"' \
|
||||
--customize-hook='echo "127.0.0.1 localhost host" > "$1/etc/hosts"' \
|
||||
|
|
Loading…
Reference in a new issue