[Lxc-users] slackware-13.37 template

Matteo Bernardini matteo.bernardini at gmail.com
Wed Jul 20 11:52:50 UTC 2011


On 20/07/2011 12:44, Christoph Willing wrote:
> Thanks for putting that template (& web page) together Matteo.

thanks to you for describing the procedure for the template creation
that I used in the script :)

> Its interesting that the template itself is so much larger than the
> existing templates for the other distributions (no big deal though).

I think the main reasons are:
- the patch for rc.* files;
- packages list;
- postinstall scripts;
debootstrap takes care of most of this, but we don't have it.

> We could quibble about which packages constitute the base requirements for
> a container but its easy to change and I've now made several containers
> with this method - very neat and quite fast.

glad you like it :D

> A particular change I had to make was to remove the config entries
> "lxc.mount.entry=proc" (also devpts & sysfs). With those entries I was
> not able to access some hardware device after I added them to the
> configuration and to the fstab. I used instead a standalone "lxc.mount =
> $rootfs/etc/fstab" and I was then able to access the device I had
> configured.

thanks! I changed the template accordingly (also in other parts, have a
check if you like) :)

> Same issue & fix for access /lib/modules/2.6.37.6 (since the
> device driver needs to load a kernel module).
> 
> FYI, the hardware is quite interesting - HD video/audio capture card
> from http://www.blackmagic-design.com and I have a page about using it
> from a container at
> http://www.vislab.uq.edu.au/research/accessgrid/software/lxcag/decklink.html

we are playing a little too with video streams but we have an old
canopus that we use with some non-linux hosts: btw, I'll forward the
friend who's following this your hardware advice, looks good and cheap,
thanks also for this!

Needless to say that any other note is welcomed :D

Matteo

-- 
Matteo Bernardini
Comunicazione Integrata
Divisione Didattica, Ricerca e Relazioni Esterne
Scuola Normale Superiore




More information about the lxc-users mailing list