From: Daniel Lezcano <daniel.lezcano-GANU6spQydw@public.gmane.org>
To: phil-8eKeQ+h1VH4pAS55Wn97og@public.gmane.org
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: Getting started - Error message
Date: Fri, 04 Mar 2011 09:08:57 +0100 [thread overview]
Message-ID: <4D709E19.2090704@free.fr> (raw)
In-Reply-To: <4D6FE422.1040807-8eKeQ+h1VH4pAS55Wn97og@public.gmane.org>
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
next prev parent reply other threads:[~2011-03-04 8:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-03 18:55 Getting started - Error message Philip Rhoades
[not found] ` <4D6FE422.1040807-8eKeQ+h1VH4pAS55Wn97og@public.gmane.org>
2011-03-04 8:08 ` Daniel Lezcano [this message]
[not found] ` <4D709E19.2090704-GANU6spQydw@public.gmane.org>
2011-03-07 9:23 ` Philip Rhoades
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D709E19.2090704@free.fr \
--to=daniel.lezcano-ganu6spqydw@public.gmane.org \
--cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=phil-8eKeQ+h1VH4pAS55Wn97og@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.