* mount host directory in guest VM
@ 2019-07-11 16:50 Kristofer Buffington
2019-07-12 21:36 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Kristofer Buffington @ 2019-07-11 16:50 UTC (permalink / raw)
To: help-guix
Hello!
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?
-kb
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mount host directory in guest VM
2019-07-11 16:50 mount host directory in guest VM Kristofer Buffington
@ 2019-07-12 21:36 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-07-12 21:36 UTC (permalink / raw)
To: Kristofer Buffington; +Cc: help-guix
Hello,
Kristofer Buffington <kristofer@walletsworth.com> 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’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-12 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-11 16:50 mount host directory in guest VM Kristofer Buffington
2019-07-12 21:36 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).