From d2d8b9965d3965c2d814b094bf88b06195cbbae4 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Mon, 20 Feb 2023 08:07:09 +0100 Subject: debvm-create: avoid failing when we install no passwd --- bin/debvm-create | 2 +- debian/control | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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, -- cgit v1.2.3