diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-08-22 10:57:12 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-08-22 10:57:12 -0300 |
commit | 8fbdfc0f3aa2b41e8bc81e19e53cb4c09f606fb5 (patch) | |
tree | 86784c958c91d43bf2008b74d7a85ce5c224e08b /kvmxfile | |
parent | 7aa3b2baebe1b4b0e5a7233268df22bb0b71a851 (diff) | |
download | kvmx-8fbdfc0f3aa2b41e8bc81e19e53cb4c09f606fb5.tar.gz kvmx-8fbdfc0f3aa2b41e8bc81e19e53cb4c09f606fb5.tar.bz2 |
Feat: adds poweroff_pre_command, startup_rsync_to_guest and poweroff_rsync_from_guest
Diffstat (limited to 'kvmxfile')
-rw-r--r-- | kvmxfile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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" |