2017/6/13

console color not work. TERM vt102

大概是這一篇說的...
For some reason, it appears that "vt102" is compiled into the version of
getty on Ubuntu as default while "linux" is compiled into the version of
getty on Fedora as default.  The man pages also make clear that this
version of getty does not reference /etc/gettydefs.  :-P  Getty is the
culprit and I don't see any other workaround for lxc-console.  That same
change may need to be made in /etc/init/console.conf but I don't quite
see where it's coming into play.
所以解決方法是在 invoke 時,加上 TERM=linux
<-- 沒效
最後是加在 .profile... TERM=linux

沒有留言:

張貼留言