[lxc-devel] gentoo container building fails during wget.
Guido Jäkel
G.Jaekel at DNB.DE
Thu Feb 19 06:36:58 UTC 2015
And maybe it's also helpful if you instrument the head of the Gentoo subscript with bash debugging
set -v
and/or
set -x
In addition, I googled that one may prefix line numbers and redirect this debug output by something like
PS4='$LINENO: '
exec 5> debug.log
BASH_XTRACEFD="5"
This debug output may help Guillaume to imagine what concrete setup situation on your host will no match to the assumptions of the script.
Guido
On 18.02.2015 23:28, lxc at zitta.fr wrote:
> I can't reproduce that, can you post the complete "lxc-create" command line ?
>
> regards
>
> Guillaume ZITTA
>
> Le 18/02/2015 17:08, lxc-develop at noci.xs4all.nl a écrit :
>> Then i ran into this:
>>
>> => timezone was staticly copyed from host
>> => container has a shared portage from host's /usr/portage to usr/portage
>> => No network interface for this container
>> It's a pitty, you have bridge, br0.
>> If it is for Lxc, use it next time by adding this to your default.conf :
>> lxc.network.type = veth
>> lxc.network.link = br0
>> lxc.network.flags = up
>> lxc.network.hwaddr = fe:xx:xx:xx:xx:xx
>> => Connection user is root
>> => root has the default password 'toor', please change it ASAP
>>
>>
>> While default .conf contains exactly that.....
>>
>>
>> core # locate default.conf | grep lxc
>> /etc/lxc/default.conf
>> core # cat /etc/lxc/default.conf
>> lxc.network.type = veth
>> lxc.network.link = br0
>> lxc.network.flags = up
>> lxc.network.hwaddr = fe:xx:xx:xx:xx:xx
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
>
More information about the lxc-devel
mailing list