[lxc-users] color in console not working in unprivileged containers

david.andel at bli.uzh.ch david.andel at bli.uzh.ch
Fri Mar 20 19:30:24 UTC 2015


 Thanks Xavier,
unfortunately, this is not the issue.
The colors work out of the box when I access the container using lxc-attach, but they do not work when I access the container using lxc-console - not even using --color=auto.
And I see the same behavior on two independent systems (both running utopic with the same lxc version).

David

-----"lxc-users" <lxc-users-bounces at lists.linuxcontainers.org> wrote: -----
To: lxc-users at lists.linuxcontainers.org
From: Xavier Gendre 
Sent by: "lxc-users" 
Date: 03/19/2015 1:35
Subject: Re: [lxc-users] color in console not working in unprivileged	containers

Maybe, this is because the colors are simply not enabled... Try 'ls 
--color=auto' in your container. If the colors are back, then tweak your 
.bashrc to enable them permanently.

Xavier

Le 18/03/2015 22:30, david.andel at bli.uzh.ch a écrit :
> Hi,
> in unprivileged containers color in the console does not work out of the
> box.
> How can it be enabled?
>
> I am running ubuntu utopic with lxc 1.1.0~alpha2-0ubuntu3.2.
>
> Thanks,
> David
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
_______________________________________________
lxc-users mailing list
lxc-users at lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150320/8eaeaf57/attachment.html>


More information about the lxc-users mailing list