From 286cecc21b113d11fb50e854efbdac856acd513f Mon Sep 17 00:00:00 2001 From: Max-Julian Pogner Date: Thu, 8 Feb 2024 11:14:03 +0100 Subject: [PATCH] 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 --- mmdebstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmdebstrap b/mmdebstrap index 90f53f7..eea1240 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -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"' \