make_mirror.sh: set a larger msize for 9p mount

This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-11-09 07:30:40 +01:00
parent b1f1d7fbdd
commit 122952a9b0
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -557,7 +557,7 @@ END
cat << 'END' > "$tmpdir/worker.sh" cat << 'END' > "$tmpdir/worker.sh"
#!/bin/sh #!/bin/sh
echo 'root:root' | chpasswd echo 'root:root' | chpasswd
mount -t 9p -o trans=virtio,access=any mmdebstrap /mnt mount -t 9p -o trans=virtio,access=any,msize=128k mmdebstrap /mnt
# need to restart mini-httpd because we mounted different content into www-root # need to restart mini-httpd because we mounted different content into www-root
systemctl restart mini-httpd systemctl restart mini-httpd