summaryrefslogtreecommitdiff
path: root/bin/debvm-create
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2023-02-20 08:07:09 +0100
committerHelmut Grohne <helmut@subdivi.de>2023-02-20 08:07:09 +0100
commitd2d8b9965d3965c2d814b094bf88b06195cbbae4 (patch)
tree66d77a16e99c4272dac22f9fb0aeafcf54641f71 /bin/debvm-create
parent863483a075f3bacf92afc20499c32585f64ba5ea (diff)
downloaddebvm-d2d8b9965d3965c2d814b094bf88b06195cbbae4.tar.gz
debvm-create: avoid failing when we install no passwd
Diffstat (limited to 'bin/debvm-create')
-rwxr-xr-xbin/debvm-create2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/debvm-create b/bin/debvm-create
index f3090ec..d9ba6fa 100755
--- a/bin/debvm-create
+++ b/bin/debvm-create
@@ -273,7 +273,7 @@ set -- \
"$@"
# allow password-less root login
-set -- '--customize-hook=chroot "$1" passwd --delete root' "$@"
+set -- '--customize-hook=passwd --root "$1" --delete root' "$@"
if ! check_skip systemdnetwork; then
# dhcp on all network interfaces, and add a dns resolver