summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/debvm-create2
-rw-r--r--debian/control1
2 files changed, 2 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
diff --git a/debian/control b/debian/control
index 59cde28..60112be 100644
--- a/debian/control
+++ b/debian/control
@@ -16,6 +16,7 @@ Depends:
e2fsprogs,
genext2fs,
mmdebstrap (>= 1.3.0),
+ passwd,
qemu-kvm | qemu-system-arm | qemu-system-mips | qemu-system-misc | qemu-system-ppc | qemu-system-sparc | qemu-system-x86,
# Required for -device virtio-net-pci,netdev=net0
ipxe-qemu,