Don't bother avoiding checksums.
[invirt/packages/invirt-autoinstaller.git] / partial / post-copy
1 #!/bin/bash
2 TARGET="$1"
3 HOSTNAME="$2"
4 ROOTPW="$3"
5 (printf "%s\n" "$ROOTPW"; sleep .2; printf "%s\n" "$ROOTPW") \
6  | /usr/sbin/chroot "$TARGET" /usr/bin/passwd root