diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-11 16:43:03 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-11 16:43:03 -0300 |
commit | 697017619877106c21884aac72fb392e392db96b (patch) | |
tree | 6a44bb9822038d8f9667ca1e574f7a4f2643ca21 | |
parent | 6056a2718f92e9fa54807451ff7f553ad08aff20 (diff) | |
download | kvmx-697017619877106c21884aac72fb392e392db96b.tar.gz kvmx-697017619877106c21884aac72fb392e392db96b.tar.bz2 |
Console: disable script hack as its not working on servers
-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 |