[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 -

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

2011-08-16 Thread Alexey Shabalin
Hello. Please add code to lxc-start for touch /fastboot to rootfs before start container, like vzctl: /* Create /fastboot to skip run fsck */ fd = open("/fastboot", O_CREAT | O_RDONLY, 0644); close(fd); Thanks. -- Alexey Shabalin

[lxc-devel] [PATCH] add ALTLinux template

2011-08-16 Thread Alexey Shabalin
Hello. This patch add template for ALTLinux. (based on fedora template) Thanks. -- Alexey Shabalin From d39f26562388fd7034f68dc0390c0f698bb4ccb0 Mon Sep 17 00:00:00 2001 From: Alexey Shabalin Date: Tue, 16 Aug 2011 16:00:51 +0400 Subject: [PATCH] add lxc-altlinux template --- .gitignore