summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-05 13:35:52 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-10-05 13:35:52 -0300
commitf83bef4d9b13d9c5d7d410593bc69d23cc372666 (patch)
treed7d2f172224afff7a5128e56a0b5b9baa4fe412f
parentf0498d7d9609298a65eb7bf3e0a0cf5f52b39fe7 (diff)
downloaddebian-f83bef4d9b13d9c5d7d410593bc69d23cc372666.tar.gz
debian-f83bef4d9b13d9c5d7d410593bc69d23cc372666.tar.bz2
Multiple mountpoints at kvmxfile
-rw-r--r--kvmxfile8
1 files changed, 6 insertions, 2 deletions
diff --git a/kvmxfile b/kvmxfile
index caa9068..4b015b0 100644
--- 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/"