aboutsummaryrefslogtreecommitdiff
path: root/kvmx
diff options
context:
space:
mode:
Diffstat (limited to 'kvmx')
-rwxr-xr-xkvmx5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvmx b/kvmx
index 1b8e06d..fc7ba38 100755
--- a/kvmx
+++ b/kvmx
@@ -450,6 +450,11 @@ function kvmx_up {
$DIRNAME/$BASENAME xephyr $VM
fi
+ if [ ! -z "$startup_command" ] && [ "$ssh_support" == "y" ]; then
+ echo "Running $startup_command..."
+ echo "nohup $startup_command" | kvmx ssh $VM &> /dev/null &
+ fi
+
kvmx_status
}