aboutsummaryrefslogtreecommitdiff
path: root/kvmxfile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-09-05 08:56:10 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-09-05 08:56:10 -0300
commit5de7986be57e10c4a05d8179a97f42ac998c1e56 (patch)
tree314e1799233214ed4eeb2fafafc5d447bc38b693 /kvmxfile
parente9a698f7e360238be612ce8a8e1f23e23d1e3152 (diff)
downloadkvmx-5de7986be57e10c4a05d8179a97f42ac998c1e56.tar.gz
kvmx-5de7986be57e10c4a05d8179a97f42ac998c1e56.tar.bz2
Feat: support for multiple source/targets pairs at startup_rsync_to_guest / poweroff_rsync_from_guest
Diffstat (limited to 'kvmxfile')
-rw-r--r--kvmxfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmxfile b/kvmxfile
index 8d0a07a..56f0647 100644
--- a/kvmxfile
+++ b/kvmxfile
@@ -83,8 +83,8 @@ shared_folder_mountpoint="/home/$user/code/$VM"
#poweroff_pre_command="/path/to/custom/command"
# Rsync commands to be run on startup or poweroff, useful to keep files synced between host and guest
-#startup_rsync_to_guest="data /var/data"
-#poweroff_rsync_from_guest="/var/data data"
+#startup_rsync_to_guest="data:data:/var/data,code:$HOME/code:/home/user/code"
+#poweroff_rsync_from_guest="data:/var/data:data,code:/home/user/code:$HOME/code"
# Graphics
# See https://wiki.archlinux.org/index.php/QEMU#Graphics