aboutsummaryrefslogtreecommitdiff
path: root/kvmxfile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-05 13:23:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-10-05 13:23:23 -0300
commit9cc1157bf5109383f927ade330900b2b3cb51b64 (patch)
treeca62d94ac1311f34978cef698ba8ea67aeb057d9 /kvmxfile
parent52c495b4d51f4fe916a5e90ca197b1bc32c17604 (diff)
downloadkvmx-9cc1157bf5109383f927ade330900b2b3cb51b64.tar.gz
kvmx-9cc1157bf5109383f927ade330900b2b3cb51b64.tar.bz2
Support for multiple mount points
Diffstat (limited to 'kvmxfile')
-rw-r--r--kvmxfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/kvmxfile b/kvmxfile
index 27585cd..703e88a 100644
--- a/kvmxfile
+++ b/kvmxfile
@@ -11,10 +11,14 @@ user="user"
# First user password
password="`head -c 20 /dev/urandom | base64`"
-# Set this is you want to be able to share folders between host and guest.
+# Set this is you want to be able to share a single folder between host and guest.
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="shared1:.:/home/$user/code/$VM,shared2:$HOME/.local/share/app:/home/$user/.local/share/app"
+
# Folder to sync during provisioning in the format "/host/folder /guest/folder".
#provision_rsync="$KVMX_BASE/share/provision/ /usr/local/share/kvmx/provision/"