aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add lvm support to lxc-createSerge Hallyn2012-02-261-1/+2
| | | | | | | | | | | | | 1. Some templates copy the cached pristine rootfs using 'cp a b' where b is $lxc_path/$name/rootfs. That doesn't do the right thing if rootfs already exists, as it will when it is an lvm or other mount. So switch to 'rsync a/ b/'. (cp can be made to work too of course). 2. Update lxc-create to support backing stores. For now only lvm is implemented. Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
* Set the utsname on the debian templateTzafrir Cohen2011-09-131-2/+3
| | | | | Signed-off-by: Tzafrir Cohen <tzafrir@cohens.org.il> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
* Convert all Debian (and derivative) templates from using 'arch' to using ↵Stéphane Graber2011-05-261-8/+1
| | | | 'dpkg --print-architecture' as debootstrap does
* templates: don't put devpts in $confdir/container/fstabDaniel Lezcano2011-05-071-1/+0
| | | | | | | | | src/lxc/conf.c will explicitly mount it anyway. Furthermore, the fstab entry, which is getting processed first, did not specify -o newinstance. This can cause the host's devpts entry mount options to change, as in https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/607636. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
* Fixed a small typo in lxc-debian templateAmit Uttamchandani2011-02-191-1/+1
| | | | | | "udpate" should be "update" in configure_debian(). Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
* Correcting charset argument when calling locale-gen.Daniel Baumann2010-12-281-2/+2
| | | | Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
* Correcting include argument when calling debootstrap.Daniel Baumann2010-12-281-1/+1
| | | | Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
* Disabling unneeded checkroot.sh initscript in debian template.Daniel Baumann2010-12-281-0/+1
| | | | Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
* Creating missing tty device nodes for squeeze in debian template.Daniel Baumann2010-12-281-0/+8
| | | | Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
* Setting default mirror to cdn.debian.net in debian template.Daniel Baumann2010-12-281-1/+2
| | | | Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
* Setting default suite to squeeze in debian template.Daniel Baumann2010-12-281-1/+1
| | | | Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
* improve lxc-debian template to specify the suiteDaniel Lezcano2010-10-011-8/+10
| | | | | | | | | | | The attached patch adds a variable at the top of lxc-debian to change the SUITE. Currently tested suites are lenny, squeeze, sid. Also, the patch uses the dhcp3-client package instead of dhcp-client which is deprecated in lenny and removed in squeeze. Patch initialy from Mathieu Parent. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
* fix /proc not mounted in debian containerDaniel Lezcano2010-06-231-0/+5
| | | | | | | Mount some systemm fs for the container. By default, /proc is no longer mounted in debian. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
* generate locales on debianDaniel Lezcano2010-06-071-2/+8
| | | | | | Let's do like the ubuntu template and generate locales automatically. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
* move script templates to an adequate placeDaniel Lezcano2010-06-071-0/+304
At present the lxc-{template} scripts are installed in the $bindir. This is not the right place as specified by the FHS, so they go to $libdir/lxc/templates. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>