Hi the page at:

http://wiki.debian.org/LXC

was very helpful, but the debootstrap command:

mkdir -p /var/lib/lxc/vm0
/usr/lib/lxc/templates/lxc-debian -p /var/lib/lxc/vm0/

creates a 5.0.8 container with no LXC tools in it, fixing this is
pretty simply however, just update the template file to include
isc-dhcp-client, lxc, and lenny->squeeze. It should be noted that the
script contains a check for the cached files, so if you're already run
the command to create a container you'll end up with 5.0.8 containers
even after you have updated the script (so clear out the debootstrap
cache in /var/cache/lxc/debian/).

For the debootstrap guys, maybe create a new script called
lxc-debian-squeeze with the following changes? Thanks in advance.

--- lxc-debian  2010-08-04 11:27:58.000000000 -0600
+++ lxc-kurt    2011-06-05 12:15:53.000000000 -0600
@@ -90,8 +90,9 @@
 locales,\
 libui-dialog-perl,\
 dialog,\
-dhcp-client,\
+isc-dhcp-client,\
 netbase,\
+lxc,\
 net-tools,\
 iproute,\
 openssh-server
@@ -110,7 +111,7 @@
     echo "Downloading debian minimal ..."
     debootstrap --verbose --variant=minbase --arch=$arch \
        --include $packages \
-       lenny $cache/partial-$arch http://ftp.debian.org/debian
+       squeeze $cache/partial-$arch http://ftp.debian.org/debian
     if [ $? -ne 0 ]; then
        echo "Failed to download the rootfs, aborting."
        return 1




-- 
Kurt Seifried
k...@seifried.org
skype: (206) 905-9462


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTikvi+GiCOCHqhfYHg5hh=+8jJ=u...@mail.gmail.com

Reply via email to