[DRE-commits] [vagrant-libvirt] 48/77: Document synced folder types

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:56:37 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag 0.0.17
in repository vagrant-libvirt.

commit 752a8df2ba3c86096315f5bdfdf920b789255b9d
Author: Brian Pitts <brian at polibyte.com>
Date:   Sat May 3 17:14:15 2014 -0500

    Document synced folder types
---
 README.md | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
index a45e6bb..ecfb0f6 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ welcome and can help a lot :-)
 * SSH into domains.
 * Setup hostname and network interfaces.
 * Provision domains with any built-in Vagrant provisioner.
-* Synced folder support via `rsync` or `nfs`.
+* Synced folder support via `rsync`, `nfs` or `9p`.
 * Snapshots via [sahara](https://github.com/jedi4ever/sahara)
 * Use boxes from other Vagrant providers via [vagrant-mutate](https://github.com/sciurus/vagrant-mutate)
 
@@ -157,7 +157,7 @@ Vagrant goes through steps below when creating new project:
 4.	Create and start new domain on Libvirt host.
 5.	Check for DHCP lease from dnsmasq server.
 6.	Wait till SSH is available.
-7.	Sync folders via `rsync` and run Vagrant provisioner on new domain if
+7.	Sync folders and run Vagrant provisioner on new domain if
 	setup in Vagrantfile.
 
 ## Networks
@@ -280,14 +280,16 @@ will maintain an active ssh process for the lifetime of the VM.
 
 ## Synced Folders
 
-There is minimal support for synced folders. Upon `vagrant up`, the Libvirt
-provider will use `rsync` (if available) to uni-directionally sync the folder
-to the remote machine over SSH.
+vagrant-libvirt supports bidirectional synced folders via nfs or 9p and
+unidirectional via rsync. The default is nfs. Vagrant automatically syncs
+the project folder on the host to */vagrant* in the guest. You can also
+configure additional synced folders.
 
-This is good enough for all built-in Vagrant provisioners (shell,
-chef, and puppet) to work!
+You can change the synced folder type for */vagrant* by explicity configuring
+it an setting the type, e.g.
+
+    config.vm.synced_folder './', '/vagrant', type: 'rsync'
 
-If used options `:nfs => true`, folder will exported by nfs.
 
 ## Box Format
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git



More information about the Pkg-ruby-extras-commits mailing list