From 5de7986be57e10c4a05d8179a97f42ac998c1e56 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 5 Sep 2020 08:56:10 -0300 Subject: Feat: support for multiple source/targets pairs at startup_rsync_to_guest / poweroff_rsync_from_guest --- kvmxfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kvmxfile') 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 -- cgit v1.2.3