diff options
Diffstat (limited to 'bin/debvm-create')
-rwxr-xr-x | bin/debvm-create | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/debvm-create b/bin/debvm-create index 9ab2472..0d89ad4 100755 --- a/bin/debvm-create +++ b/bin/debvm-create @@ -356,10 +356,7 @@ set -- \ "$@" # allow password-less root login -# In future, we should use passwd --prefix "$1" --delete root here, but the -# --prefix option was added in trixie and the --root option uses chroot() and -# attempts to load shared libraries from a potentially foreign chroot. -set -- '--customize-hook=sed -i -e "s/^root:[*]:/root::/" "$1/etc/shadow"' "$@" +set -- "--customize-hook=$SHARE_DIR/customize-delete-rootpw.sh" "$@" if test "$INITSYSTEM" = systemd && ! check_skip systemdnetwork; then # dhcp on all network interfaces, and add a dns resolver |