Re: [lxc-devel] [PATCH] add slackware template

2011-08-19 Thread Matteo Bernardini
Sorry for the noise, I just got illuminated and will substitute the install part using slackpkg, a slackware specific tool that I think as the correct choice here (my package install procedure was a little trivial compared to what this tool does), also because it permits the use of package template

[lxc-devel] [PATCH] add slackware template

2011-08-16 Thread Matteo Bernardini
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 exis

Re: [lxc-devel] touch /fastboot to rootfs before start container

2011-08-16 Thread Matteo Bernardini
for what's worth (if useful to know), slackware uses /etc/fastboot for that purpose: could it be seen as a specific template thingie? in the template for slackware that I'm preparing, for example, I cutted out all mount/fsck from the shell init script checking for a CONTAINER variable... Matteo -