subootstrap is a tool to create openSUSE filesystems on a host system by using kiwi. subootstrap contains a script which make the subfilesystem compatiple with lxc.
0.0.1(alpha)
subootstrap 12.1-JeOS /path/where/you/want/to/store/the/filesystem [-h lxc] [-A x86_64]
-h activate one of the hook scripts
-A set the architecture for the system
Go to lxc template directory (like /usr/lib64/lxc/templates) and change the content of lxc-opensuse to
#!/bin/bash
bash subootstrap $yourversion $yourpath -h lxc
You have to replace the variables with:
$yourversion := the version you want. Exsample 11.4-JeOS
$yourpath := the path where you want to store the filesystem
Now open the Terminal login you in as root and then type in:
lxc-create -n yourname -t opensuse
Copyright (C) 2012 SUSE LINUX Products GmbH.
subootstrap is licensed under the MIT license. See LICENSE for details.