diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-30 21:21:14 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-30 21:21:14 -0200 |
commit | 6caa894e58e5b55df3bedddfe4fb1e62c7ccb967 (patch) | |
tree | 278c8eff63ed2470ad2ed34a937a9a21ed7db6e2 /kvmx | |
parent | 5844ec7bc0686cdb911f2588d3ea56471bb71784 (diff) | |
download | kvmx-6caa894e58e5b55df3bedddfe4fb1e62c7ccb967.tar.gz kvmx-6caa894e58e5b55df3bedddfe4fb1e62c7ccb967.tar.bz2 |
Adds startup_command config
Diffstat (limited to 'kvmx')
-rwxr-xr-x | kvmx | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 } |