make_mirror.sh: setup root password for possible debugging of qemu sessions

This commit is contained in:
Johannes 'josch' Schauer 2018-12-30 17:19:47 +01:00
parent 5ac613983c
commit e5564a0dad
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -234,6 +234,7 @@ END
# https://github.com/pjcj/Devel--Cover/issues/223
cat << 'END' > "$tmpdir/worker.sh"
#!/bin/sh
echo 'root:root' | chpasswd
mount -t 9p -o trans=virtio,access=any mmdebstrap /mnt
# need to restart mini-httpd because we mounted different content into www-root
systemctl restart mini-httpd