[lxc-devel] [PATCH] add slackware template

Matteo Bernardini matteo.bernardini at gmail.com
Tue Aug 16 20:18:49 UTC 2011


Hi to all.

This patch add a template for slackware.

You can pass it, besides the SUITE and MIRROR variables:
- cache: a folder, defaults to /var/cache/lxc/slackware;
- arch: i486 or x86_64, the default is autodetect it from the running
kernel;
- PACKAGES: the list of packages to install, the existing value,a choice
taken from the kind Vincent Batts
http://connie.slackware.com/~vbatts/minimal/, can be taken as an example
for the syntax.

As we don't have debootstrap I had to do some steps more, hope it hasn't
got too big: the patches that introduce a check for a CONTAINER variable
in the rc.* scripts are the biggest part, for the rest I tried to be
synthetic but also to comment what I was doing a little.

Matteo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-templates-add-slackware-template.patch
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20110816/d8b456ca/attachment.ksh>


More information about the lxc-devel mailing list