diff options
author | Helmut Grohne <helmut@subdivi.de> | 2024-06-23 06:29:44 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2024-06-23 06:32:53 +0200 |
commit | aba9e12e719375d7032d7b88268dbea5036d6035 (patch) | |
tree | d9e9d5d0ebcf2909d9be5a58a12ff3a9eb690435 /bin/debvm-create | |
parent | 29545ccdeaf422babefc94c452c8a7d2dccc7229 (diff) | |
download | debvm-aba9e12e719375d7032d7b88268dbea5036d6035.tar.gz |
debvm-create: do install login
login has become non-essential and autologin simply respawns
indefinitely when login is not installed. We better install it
explicitly and that works on all releases. If we are only interested in
logging in via ssh (and thus --skip=autologin), no login package is
needed.
Diffstat (limited to 'bin/debvm-create')
-rwxr-xr-x | bin/debvm-create | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/debvm-create b/bin/debvm-create index 526fc89..0fffd70 100755 --- a/bin/debvm-create +++ b/bin/debvm-create @@ -400,7 +400,9 @@ if ! check_skip usrmerge; then fi if ! check_skip autologin; then - set -- "--customize-hook=$SHARE_DIR/customize-autologin.sh" "$@" + set -- \ + --include=login \ + "--customize-hook=$SHARE_DIR/customize-autologin.sh" "$@" fi if test "$(id -u)" = 0; then |