aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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