Categories

How to create Ubuntu 11.04 Natty Narwhal LXC template

First create a network configuration file:

lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0

…and run lxc-create:

root@servukas:~# lxc-create -n natty-lxc-template -t natty -f /tmp/natty-template-network.conf
debootstrap is /usr/sbin/debootstrap
Checking cache download in /var/cache/lxc/natty/rootfs-amd64 ...
Downloading ubuntu natty minimal ...
...
Copy /var/cache/lxc/natty/rootfs-amd64 to /var/lib/lxc/natty-lxc-template/rootfs ...
Copying rootfs to /var/lib/lxc/natty-lxc-template/rootfs ...Please change root-password !
'natty' template installed
'natty-lxc-template' created

That’s all. Good luck.

Or you can download my template from files.emanuelis.eu

1 comment to How to create Ubuntu 11.04 Natty Narwhal LXC template

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>