[Lxc-users] creating debian container on debian sid

Johannes Schauer j.schauer at email.de
Mon Oct 29 20:58:29 UTC 2012


Hi,

On Mon, Oct 29, 2012 at 10:36:07AM +0100, Johannes Schauer wrote:
> I'm using LXC 0.8.0~rc1-13 on Debian Sid but after running:
> 
> sudo lxc-create -n myfirstcontainer -t debian -- --preseed-file /usr/share/doc/lxc/examples/lxc-debian.cfg
> 
> and then:
> 
> sudo lxc-start -n myfirstcontainer
> 
> But the login prompt never appears. Is this a problem in the preseed
> file? Or a problem with the configuration script?

Maybe the problem is, that the package live-debconfig is only available
in Debian Sid and not in wheezy? With a modified preseed file that
selects sid instead of wheezy everything works like a charm.

An additional question though:

Even though I have the following lines in my preseed file:

live-debconfig live-debconfig/hostname/hostname string debian
live-debconfig live-debconfig/ifupdown/eth0-method select dhcp
live-debconfig live-debconfig/selinux/enable boolean false
live-debconfig live-debconfig/sysvinit/lxc-enable boolean true
live-debconfig live-debconfig/sysvinit/lxc-consoles string 6

the live-debconfig configuration still asks for all those values. How do
I avoid that it asks for them but instead uses the values I supply in my
preseed file?

cheers, josch




More information about the lxc-users mailing list