aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx5
1 files changed, 4 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index abe063a..9c04565 100755
--- a/kvmx
+++ b/kvmx
@@ -1665,7 +1665,10 @@ function kvmx_console {
exit 1
fi
- screen -x kvmx-$VM
+ # 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
}
# Alias to console