[Lxc-users] template-script for ubuntu [lucid] containers
Serge E. Hallyn
serge.hallyn at canonical.com
Wed Sep 8 14:30:59 UTC 2010
Quoting user virtual (virtualusr at gmail.com):
> Hi Serge
>
> Sorry for the missing link:
> http://virtualusr.wordpress.com/2010/09/07/flying-linux-containers-on-xen-4-0-on-pv-ubuntu-10-04-lucid/
>
> There was no networking setup and making one blocked upstart for me.
Hm, you're using lxc-ubuntu by hand. Is that from lxc 0.6.5? If not,
do you get better results using lxc 0.7.1 and doing
cat >> /etc/lxc-basic.conf << EOF
lxc.network.type=macaddr
lxc.network.link=eth0
lxc.network.flags=up
EOF
lxc-create -n ubuntu1 -f /etc/lxc-basic.conf -t ubuntu
?
Note that in a lucid container you can get the lxc 0.7.1 package
from ppa:serge-hallyn/virt (i.e. by doing:
add-apt-repository ppa:serge-hallyn/virt
apt-get update && apt-get dist-upgrade
)
-serge
More information about the lxc-users
mailing list