From efd7142c00191bbe06ff9f6a6995583d97cd4da3 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Tue, 17 Jan 2023 10:28:31 +0100 Subject: Add --skip=autologin --- bin/debvm-create | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/debvm-create b/bin/debvm-create index c58092c..8e6ca12 100755 --- a/bin/debvm-create +++ b/bin/debvm-create @@ -63,6 +63,12 @@ The following tasks may be skipped. =over 4 +=item B + +Skips adding a the customize-autologin.sh to B that configures +automatic root login on a serial console and also parses the C kernel +cmdline and passes it as C to B. + =item B skips installing a linux kernel image. @@ -289,7 +295,9 @@ if ! check_skip usrmerge; then set -- --hook-dir=/usr/share/mmdebstrap/hooks/maybe-merged-usr "$@" fi -set -- "--customize-hook=$SHARE_DIR/customize-autologin.sh" "$@" +if ! check_skip autologin; then + set -- "--customize-hook=$SHARE_DIR/customize-autologin.sh" "$@" +fi set -- "$SUITE" "$IMAGE" "$@" -- cgit v1.2.3