aboutsummaryrefslogtreecommitdiff
path: root/kvmx
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-11 16:43:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-11 16:43:03 -0300
commit697017619877106c21884aac72fb392e392db96b (patch)
tree6a44bb9822038d8f9667ca1e574f7a4f2643ca21 /kvmx
parent6056a2718f92e9fa54807451ff7f553ad08aff20 (diff)
downloadkvmx-697017619877106c21884aac72fb392e392db96b.tar.gz
kvmx-697017619877106c21884aac72fb392e392db96b.tar.bz2
Console: disable script hack as its not working on servers
Diffstat (limited to 'kvmx')
-rwxr-xr-xkvmx7
1 files changed, 4 insertions, 3 deletions
diff --git a/kvmx b/kvmx
index 75063e3..f093984 100755
--- a/kvmx
+++ b/kvmx
@@ -1667,9 +1667,10 @@ function kvmx_console {
# Script hack, useful for servers when using su before attaching to a console
# See https://serverfault.com/questions/116775/sudo-as-different-user-and-running-screen
- #script /dev/null
- #screen -x kvmx-$VM
- script -q -c "screen -x kvmx-$VM" /dev/null
+ #script /dev/null && screen -x kvmx-$VM
+ #script -q -c "screen -x kvmx-$VM" /dev/null
+
+ screen -x kvmx-$VM
}
# Alias to console