diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-30 19:52:26 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-30 19:52:26 -0200 |
commit | 1fc01d99e4d0c57a34d37e7713e53923a6719ece (patch) | |
tree | d8866330bdb547c1bf76b751fe15940fea0c18cc | |
parent | dbdc15291e7004fe722c221782f8a82b198a5619 (diff) | |
download | kvmx-1fc01d99e4d0c57a34d37e7713e53923a6719ece.tar.gz kvmx-1fc01d99e4d0c57a34d37e7713e53923a6719ece.tar.bz2 |
Fix serial console log file name
-rwxr-xr-x | kvmx | 7 | ||||
-rw-r--r-- | share/screen/screenrc | 2 |
2 files changed, 2 insertions, 7 deletions
@@ -411,12 +411,7 @@ function kvmx_up { echo $XDMCP_PORT > $XDMCPPORTFILE # Thanks kvm-manager code for that portion - local screen_log_args=-L - if dpkg --compare-versions "$screen_version" ge 4.05; then - screen_log_args="-L $DATADIR/servicelog" - fi - - /usr/bin/screen -D -m $screen_log_args \ + /usr/bin/screen -D -m -L $LOGDIR/servicelog \ -c $DIRNAME/share/screen/screenrc \ -S "kvmx-$VM" -t "kvmx-$VM" socat STDIO,raw,echo=0 "UNIX:${CONSOLEFILE},retry=30" & diff --git a/share/screen/screenrc b/share/screen/screenrc index 0a76b80..fcc17fd 100644 --- a/share/screen/screenrc +++ b/share/screen/screenrc @@ -3,7 +3,7 @@ # use C-\ as the escape character escape \034\034 -logfile ./servicelog +#logfile ./servicelog logfile flush 1 # unset important key bindings |