[lxc-users] CentOS 7

Tamas Papp tompos at martos.bme.hu
Mon Nov 17 18:33:34 UTC 2014


On 11/17/2014 05:23 PM, Michael H. Warfield wrote:
>
> Yes you can.  I haven't looked at the Docker stuff that was posted but I
> have several CentOS 7 containers running as a part of my development
> effort.
>
> The current CentOS template (and lxc-start) is lacking several things
> wrt systemd.  Even if you used the Docker container, you would still
> need to set up some things in your config and probably modify some
> things in your container (disable some services and enable a few others
> like mgetty on the vtys).

What are these changes?:)

> In the config, you would need this:
>
> lxc.autodev = 1
> lxc.kmsg = 0

Setting only these are not enough.

> There are a few other tweaks that the Fedora template was performing for
> systemd that I have ported over to the CentOS template, but I still need
> to get the pieces into Stephane yet.  I've been wrestling with a couple
> of discussions he and I had over the whole systemd detection and the
> problem with kmsg (which is really journald) so I'm very tardy in
> getting those changes in.

Yes, I realized, that Fedora template does the same.
How could I get it working?


10x
tamas


More information about the lxc-users mailing list