diff options
-rwxr-xr-x | kvmx | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |