aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvmx b/kvmx
index 139d530..c2a620e 100755
--- a/kvmx
+++ b/kvmx
@@ -248,6 +248,11 @@ function kvmx_spice {
xdotool search --name "SPICEc:0" set_window --name $VM
fi
+
+ # Restart vdagent
+ if [ "$ssh_support" == "y" ]; then
+ echo "which kvmx-vdagent > /dev/null && DISPLAY=:0 kvmx-vdagent" | kvmx_ssh
+ fi
}
# Bring virtual machine up