cat > vm/.profile <<EOF
mount -t 9p -o trans=virtio virtfs /mnt
mount -t ramfs ramfs /tmp
mount -t proc proc /proc
mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
echo ':jar:M::PK\x03\x04::/usr/bin/jexec:' > /proc/sys/fs/binfmt_misc/register
cat > vm/.profile <<EOF
mount -t 9p -o trans=virtio virtfs /mnt
mount -t ramfs ramfs /tmp
mount -t proc proc /proc
mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
echo ':jar:M::PK\x03\x04::/usr/bin/jexec:' > /proc/sys/fs/binfmt_misc/register