all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Sharing host file systems with a VM
@ 2014-11-20 23:08 Ludovic Courtès
  2014-11-21  3:44 ` David Thompson
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2014-11-20 23:08 UTC (permalink / raw)
  To: Guix-devel

‘guix system vm’ can now be told to share more file systems with the
host, in addition to /gnu/store:

     Additional file systems can be shared between the host and the VM
     using the ‘--share’ and ‘--expose’ command-line options: the former
     specifies a directory to be shared with write access, while the
     latter provides read-only access to the shared directory.

     The example below creates a VM in which the user’s home directory
     is accessible read-only, and where the ‘/exchange’ directory is a
     read-write mapping of the host’s ‘$HOME/tmp’:

          guix system vm my-config.scm \
             --expose=$HOME --share=$HOME/tmp=/exchange

Thanks David for giving me an incentive to work on this.  ;-)

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Sharing host file systems with a VM
  2014-11-20 23:08 Sharing host file systems with a VM Ludovic Courtès
@ 2014-11-21  3:44 ` David Thompson
  0 siblings, 0 replies; 2+ messages in thread
From: David Thompson @ 2014-11-21  3:44 UTC (permalink / raw)
  To: Ludovic Courtès, Guix-devel

Ludovic Courtès <ludo@gnu.org> writes:

> ‘guix system vm’ can now be told to share more file systems with the
> host, in addition to /gnu/store:

Awesome!

> Thanks David for giving me an incentive to work on this.  ;-)

Thanks for doing the work!  I will figure out how to take advantage of
this in 'guix environment' soon.

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-21  3:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20 23:08 Sharing host file systems with a VM Ludovic Courtès
2014-11-21  3:44 ` David Thompson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.