]> gitweb.fluxo.info Git - debian.git/commitdiff
Multiple mountpoints at kvmxfile
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 5 Oct 2017 16:35:52 +0000 (13:35 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 5 Oct 2017 16:35:52 +0000 (13:35 -0300)
kvmxfile

index caa90685a754f36890b2a8d1a872ac5d7d5e45b0..4b015b0633e916dde09b0ea4be0be92cff74619e 100644 (file)
--- a/kvmxfile
+++ b/kvmxfile
@@ -12,8 +12,12 @@ user="user"
 password="$RANDOM"
 
 # Set this is you want to be able to share folders between host and guest.
-shared_folder="."
-shared_folder_mountpoint="/home/user/code/$VM"
+#shared_folder="."
+#shared_folder_mountpoint="/home/user/code/$VM"
+
+# Set this is you want to be able to share multiple folders between host and guest.
+# Format: <id1>:<host-folder1>:<guest-mountpoint1>,<id2>:<host-folder2>:<guest-mountpoint2>[,...]
+shared_folders="debian:.:/home/$user/code/debian,distros:/var/data/distros:/var/data/distros"
 
 # Folder to sync during provisioning in the format "/host/folder /guest/folder".
 provision_rsync="$KVMX_BASE/share/provision/ /usr/local/share/kvmx/provision/"