From 8fbdfc0f3aa2b41e8bc81e19e53cb4c09f606fb5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 22 Aug 2020 10:57:12 -0300 Subject: Feat: adds poweroff_pre_command, startup_rsync_to_guest and poweroff_rsync_from_guest --- kvmxfile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'kvmxfile') diff --git a/kvmxfile b/kvmxfile index 25f676d..8d0a07a 100644 --- a/kvmxfile +++ b/kvmxfile @@ -79,6 +79,13 @@ shared_folder_mountpoint="/home/$user/code/$VM" #startup_command="/path/to/custom/command" #startup_command="hydractl aperiodic-upgrade" +# Pre-poweroff command +#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" + # Graphics # See https://wiki.archlinux.org/index.php/QEMU#Graphics #graphics="-vga std -nographic -vnc :$GUEST_DISPLAY" -- cgit v1.2.3