diff options
author | Helmut Grohne <helmut@subdivi.de> | 2023-02-20 08:07:09 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2023-02-20 08:07:09 +0100 |
commit | d2d8b9965d3965c2d814b094bf88b06195cbbae4 (patch) | |
tree | 66d77a16e99c4272dac22f9fb0aeafcf54641f71 | |
parent | 863483a075f3bacf92afc20499c32585f64ba5ea (diff) | |
download | debvm-d2d8b9965d3965c2d814b094bf88b06195cbbae4.tar.gz |
debvm-create: avoid failing when we install no passwd
-rwxr-xr-x | bin/debvm-create | 2 | ||||
-rw-r--r-- | debian/control | 1 |
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, |