Re: Getting started - Error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/03/2011 07:55 PM, Philip Rhoades wrote:
> People,
>
> I used this info to get started on Fedora 14 x86_64:
>
> http://www.techrepublic.com/blog/opensource/introducing-linux-virtual-containers-with-lxc/1289
>
> and everything seems happy when doing the setup stuff but when I try to run:
>
> /usr/bin/lxc-execute -n test -f /etc/lxc/lxc-test.conf /bin/bash
>
> I get:
>
> lxc-execute: network is not created for 'lxc.network.link' = 'br0
> lxc.network.hwaddr = 4a:49:43:49:79:bd' option
>
> lxc-execute: failed to process 'lxc.network.link = br0
> lxc.network.hwaddr = 4a:49:43:49:79:bd
> '
> lxc-execute: failed to read configuration file
>
> but the conf file is readable:
>
> -rw-r--r-- 1 root root 215 Mar  4 05:29 /etc/lxc/lxc-test.conf

The blog shows something like that:

"lxc.utsname = test lxc.network.type = veth lxc.network.flags = up 
lxc.network.link = br0 lxc.network.hwaddr = 4a:49:43:49:79:bd 
lxc.network.ipv4 = 192.168.250.150 lxc.network.ipv6 = 
2003:db8:1:0:214:1234:fe0b:3596"

The configuration file should be in this format:

lxc.utsname = test
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0
lxc.network.hwaddr = 4a:49:43:49:79:bd
lxc.network.ipv4 = 192.168.250.150
lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596

Thanks
   -- Daniel
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux