[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mount host directory in guest VM
From: |
Ludovic Courtès |
Subject: |
Re: mount host directory in guest VM |
Date: |
Fri, 12 Jul 2019 23:36:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello,
Kristofer Buffington <address@hidden> skribis:
> I would like to have a shared folder between VMs on my virtualization
> host. I can do that manually, but it doesn't persist between
> restarts.
>
> # mount -t 9p -o trans=virtio,version=9p2000.L hostshare /
>
> This command lets the guest mount the hosts shared folder. How can I put
> that into my operating-system declaration?
If you’re using ‘guix system vm’ to create your VM, it has a ‘--expose’
and a ‘--share’ option that do roughly what you describe.
HTH!
Ludo’.