ff7a7fdc31f43272c36b1cfbff5b6613f4198e17 |
|
25-Mar-2017 |
Evgeni Golov <evgeni@debian.org> |
do not set insecure passwords
Signed-off-by: Evgeni Golov <evgeni@debian.org> |
6865ec3c97e17408fd09e386d291af5ff7b495b0 |
|
20-Mar-2017 |
Maxime Besson <mabes@users.noreply.github.com> |
lxc-opensuse: fix default value for release code
Signed-off-by: Maxime Besson <maxime.besson@smile.fr> |
fe864494de93b87dd3bd8e9e1af8d54d4e0450c6 |
|
03-Jan-2017 |
Evgeni Golov <evgeni@debian.org> |
lxc-opensuse: rm poweroff.target -> sigpwr.target copy
Given commit 330ae3d350e060e5702a0e5ef5d0faeeeea8df6e:
lxccontainer: detect if we should send SIGRTMIN+3
This is required by systemd to cleanly shutdown. Other init systems should not
have SIGRTMIN+3 in the blocked signals set.
we should stop poking around with sigpwr.target for systemd.
Signed-off-by: Evgeni Golov <evgeni@debian.org> |
e08c121b20ae60ec7ea434f210f3d534f2e2562c |
|
03-Jan-2017 |
Evgeni Golov <evgeni@debian.org> |
don't try to get stuff from /usr/lib/systemd on the host
it might not even be there…
Signed-off-by: Evgeni Golov <evgeni@debian.org> |
7638f5fd32d01475eb1a8f4014436b0ba75fc17e |
|
15-Dec-2016 |
Terzeus S. Dominguez <tsdmgz@gmail.com> |
Remove libgcc_s1 from openSUSE template
Removed libgcc_s1 because it breaks container building for openSUSE.
Related: openSUSE/obs-build#188
Signed-off-by: Terzeus S. Dominguez <tsdmgz@gmail.com> |
da9ca6569a250f42c35292a0b5eb6731c89860e2 |
|
15-Dec-2016 |
Terzeus S. Dominguez <tsdmgz@gmail.com> |
Set openSUSE to be unconfined by AppArmor
Uncommented lxc.aa_profile = unconfined. Otherwise, container fails to
start up.
Signed-off-by: Terzeus S. Dominguez <tsdmgz@gmail.com> |
eef20f61f0d1851ed0c11a12c9dd1f086cf7b404 |
|
15-Dec-2016 |
Terzeus S. Dominguez <zeus@dmgznet.com> |
Change openSUSE default release to Leap 42.2
Signed-off-by: Terzeus S. Dominguez <tsdmgz@gmail.com> |
73fd697741d3fbe8ea9f0ee6ef303391e2c0cbb2 |
|
15-Dec-2016 |
Terzeus S. Dominguez <zeus@dmgznet.com> |
Update openSUSE template for Leap 42.2
Aside from adding a 42.2 option, $DISTRO comparisons for Leap have been
changed [ exp ] => [[ exp ]] to accomodate pattern matching for future
releases.
Signed-off-by: Terzeus S. Dominguez <tsdmgz@gmail.com> |
a3ed64707fb71b6f2fcf603e755c5da07ab3aec5 |
|
17-Nov-2016 |
Evgeni Golov <evgeni@debian.org> |
find OpenSUSE's build also as obs-build
this is how it is shipped in Debian and Ubuntu
Signed-off-by: Evgeni Golov <evgeni@debian.org> |
6441f6ba7abd9fa29954104f57080707e3d5e942 |
|
11-Jan-2016 |
Terzeus S. Dominguez <zeus@dmgznet.com> |
Fix zypper repo for Leap
Leap repos are moved one level deeper. Included oss repo only.
Signed-off-by: Terzeus S. Dominguez <zeus@dmgznet.com> |
9a4fe12dc4944bb3a4d3a6c8b214c2d908206ae6 |
|
10-Jan-2016 |
Terzeus S. Dominguez <zeus@dmgznet.com> |
Add iproute2 and net-tools to Leap install
Added missing network utilities to base install for Leap. Included
check to do it for Leap 42.1 only.
Signed-off-by: Terzeus S. Dominguez <zeus@dmgznet.com> |
3b7f70d2145d23d5f0cf08513404ac7ad2d7aaf3 |
|
10-Jan-2016 |
Terzeus S. Dominguez <zeus@dmgznet.com> |
Fix typo
Signed-off-by: Terzeus S. Dominguez <zeus@dmgznet.com> |
f2d63d7ac44cf8ebabf11cdc1a8b9ba39506167a |
|
10-Jan-2016 |
Terzeus S. Dominguez <zeus@dmgznet.com> |
Add openSUSE Leap release in opensuse template
Signed-off-by: Terzeus S. Dominguez <zeus@dmgznet.com> |
fe89217a880dafc8da0357fa1444e24d0bf9f202 |
|
05-Aug-2015 |
Jiri Slaby <jslaby@suse.cz> |
templates: lxc-opensuse, use rpm to determine build version
zypper info's output is not usable for several reasons:
* it is localized -- there is no "Version: " in my output
* it shows results both from the repo and local system
So use plain rpm to determine whether build is installed and if proper
version is in place.
Signed-off-by: Jiri Slaby <jslaby@suse.cz> |
6dc6f80bfd7cb169948f2ef9a95dcf6d2edee853 |
|
11-Jun-2015 |
Kevin Carter <kevin.carter@rackspace.com> |
Added container-cache option to templates
This change adds in the container-cache option within the mainline
default lxc templates. The pupose here is to allow a template to
pull from a location that may not be `@LOCALSTATEDIR@/cache/lxc`
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com> |
f24a52d5f588ff4e4575046903fb9498c376d833 |
|
29-Jan-2015 |
Stéphane Graber <stgraber@ubuntu.com> |
Use consistent /proc, /sys and /sys/fs/cgroup (v2)
- Implements mixed mode for /sys where it's mounted read-only but with
/sys/devices/virtual/net/ writable.
- Sets lxc.mount.auto to "cgroup:mixed proc:mixed sys:mixed" for all
templates.
- Drop any template-specific mount for /proc, /sys or /sys/fs/cgroup.
- Get rid of the fstab file by default, using lxc.mount.entry instead.
- Set sys:mixed as the default for "sys". sys:mixed is slightly more
permissive than sys:ro so this shouldn't be a problem.
The read-only bind mount of /sys on top of itself is there so that
mountall and other init systems don't attempt to remount /sys
read-write.
v2 changes:
- Fix the mount list, don't specify a source for the remount.
- Update the documentation.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
b5a285ea8fde10254f3b6d1743cec372a2d01605 |
|
10-Jan-2015 |
Michael Adam <obnox@samba.org> |
lxc-opensuse: protect possibly unset variable with quotes in -z check
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
eb4cd29636a136c867c43937670a1c6295cb18b0 |
|
10-Jan-2015 |
Michael Adam <obnox@samba.org> |
lxc-opensuse: fix parsing of option "--clean": it takes no argument
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
1111674232c2e93ddc2c165f3d43df8fe050ac82 |
|
10-Jan-2015 |
Michael Adam <obnox@samba.org> |
lxc-opensuse: fix tab/whitespace mixup in usage text.
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
d3eccbbf805cb68522955519b0709853f6bc7bff |
|
19-Dec-2014 |
Johannes Kastl <mail@ojkastl.de> |
lxc-opensuse: Disable building openSUSE containers on 13.2/Tumbleweed only if wrong version of build package is installed
Signed-off-by: Johannes Kastl <git@ojkastl.de>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
8f3a3cd80509d32443072b5f678fdebd04cbc882 |
|
19-Dec-2014 |
Johannes Kastl <mail@ojkastl.de> |
lxc-opensuse: default release changed to 13.1, as 12.3 reaches end-of-life soon
Signed-off-by: Johannes Kastl <git@ojkastl.de>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
de548c6055a6246804a8217e901c9272dbf699d4 |
|
01-Dec-2014 |
Johannes Kastl <mail@ojkastl.de> |
lxc-opensuse: Disabling builds on openSUSE Tumbleweed, detection improved.
Signed-off-by: Johannes Kastl <git@ojkastl.de>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
f38788b405e6738bf3fbe6731e28c18967da71b2 |
|
27-Nov-2014 |
Johannes Kastl <mail@ojkastl.de> |
lxc-opensuse: Disable on 13.2
Disabled building openSUSE containers on openSUSE 13.2 and openSUSE
Tumbleweed due to faulty behaviour with newer versions of
init_buildsystem.
Signed-off-by: Johannes Kastl <git@ojkastl.de>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
3e892287baec47fe72116eba0f0246a505153045 |
|
25-Nov-2014 |
Johannes Kastl <mail@ojkastl.de> |
lxc-opensuse: Check if given argument is a valid release
Signed-off-by: Johannes Kastl <git@ojkastl.de>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
0ce7569856cc7a366f58688f6b6a71610167fc76 |
|
25-Nov-2014 |
Johannes Kastl <mail@ojkastl.de> |
lxc-opensuse: Added explanation on how to use the template
Signed-off-by: Johannes Kastl <git@ojkastl.de>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
2e7a16a5a501acd1c1e270bd7b3c423b1aaa5d8b |
|
25-Nov-2014 |
Johannes Kastl <mail@ojkastl.de> |
lxc-opensuse: template now understands release arguments
Signed-off-by: Johannes Kastl <git@ojkastl.de>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
41cf1ac30de569888c70b1f1b40d29993950ff2e |
|
18-Jun-2014 |
Michael H. Warfield <mhw@WittsEnd.com> |
Updated lxc-opensuse for common configuration changes.
Updated the lxc-opensuse template for the changes for the common
configuration used by the download template. Changed the default
network mode in the container to dhcp.
Signed-off-by: Michael H. Warfield <mhw@WittsEnd.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
1bc1269ba5f899ad764f89cb42fc5897198cbe20 |
|
10-Mar-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
lxc-opensuse: Fix syntax error
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> |
96283b546081e7ff709968378fca25cb44f1ab6c |
|
19-Feb-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
templates: Fix bashisms in common code
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> |
207bf0e475f1dc6e9a2dac2cee3a209b56427855 |
|
06-Feb-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
templates: Make sure usual locations are in PATH
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
c63c04fcaf1c3a78c70500eae253d72fa9c8358a |
|
06-Feb-2014 |
TAMUKI Shoichi <tamuki@linet.gr.jp> |
templates: improve refusing to run unprivileged
For all templates except lxc-ubuntu-cloud and lxc-download, detect not
only --mapped-uid but also --mapped-gid and error out. Detecting will
not be done after -- parameter because of non-option parameters.
Also, change the mode of lxc-archlinux.in 100755 to 100644.
Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
8ec981fc8b0105da5f071e40811e0c2472a6c3c9 |
|
04-Feb-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
templates: Refuse to run unprivileged
Only the download and ubuntu-cloud templates work with unprivileged
containers, for all others, detect --mapped-uid and error out as early
as possible, recommending the use of the download template.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
17abf2784de1047fb2904ff130ee5efe4ea7b598 |
|
14-Jan-2014 |
Elan Ruusamäe <glen@delfi.ee> |
handle simple bashisms:
- [[ ]] -> [ ]
- == -> =
- source -> .
- redirect of fd 200 is error in mksh, use fd 9
- &> /dev/null -> > /dev/null 2>&1
- useless function keyword
- echo -e -> printf
still left bash shebang which did not validate with checkbashism, mostly
due 'type' being reported as bashism
Signed-Off-By: Elan Ruusamäe <glen@delfi.ee>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
cc33e055dd047af7b4cc8a226bb54b3b9c450152 |
|
07-Jan-2014 |
Jiri Slaby <jslaby@suse.cz> |
lxc-opensuse: add perl-base to prerequisities
It is needed by insserv-compat.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6 |
|
25-Nov-2013 |
Stéphane Graber <stgraber@ubuntu.com> |
Tab/spaces consistency for templates
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> |
853d58fdf5af0960b7b6edc9dea0fadddb8535f1 |
|
25-Nov-2013 |
Elan Ruusamäe <glen@delfi.ee> |
use awk, instead of 'grep | awk'
Signed-off-by: Elan Ruusamäe <glen@delfi.ee>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
98f5f7e2c54fc003f81b2164adf3c7bd8a104556 |
|
11-Sep-2013 |
Cedric Bosdonnat <cbosdonnat@suse.com> |
Fixed opensuse template to make lxc-shutdown work.
The fix is described by:
https://wiki.archlinux.org/index.php/Linux_Containers#Container_cannot_be_shutdown_if_using_systemd
Signed-off-by: Cedric Bosdonnat <cbosdonnat@suse.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
250b1eec71b074acdff1c5f6b5a1f0d7d2c20b77 |
|
03-Sep-2013 |
Stéphane Graber <stgraber@ubuntu.com> |
licensing: Add missing headers and FSF address
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> |
1897e3bcd36af9f3fe6d3649910a9adb93e5e988 |
|
26-May-2013 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
Move container creation fully into the api
1. implement bdev->create:
python and lua: send NULL for bdevtype and bdevspecs.
They'll want to be updated to pass those in in a way that makes
sense, but I can't think about that right now.
2. templates: pass --rootfs
If the container is backed by a device which must be mounted (i.e.
lvm) then pass the actual rootfs mount destination to the
templates.
Note that the lxc.rootfs can be a mounted block device. The template
should actually be installing the rootfs under the path where the
lxc.rootfs is *mounted*.
Still, some people like to run templates by hand and assume purely
directory backed containers, so continue to support that use case
(i.e. if no --rootfs is listed).
Make sure the templates don't re-write lxc.rootfs if it is
already in the config. (Most were already checking for that)
3. Replace lxc-create script with lxc_create.c program.
Changelog:
May 24: when creating a container, create $lxcpath/$name/partial,
and flock it. When done, close that file and unlink it. In
lxc_container_new() and lxcapi_start(), check for this file. If
it is locked, create is ongoing. If it exists but is not locked,
create() was killed - remove the container.
May 24: dont disk-lock during lxcapi_create. The partial lock
is sufficient.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
eee3ba81c88e64b8a732694fc4843a39d5bde491 |
|
01-May-2013 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
templates: deny writes to host's clock (v2)
Don't allow write to /dev/rtc0, and remove sys_time.
Thanks, Christoph.
v2: drop sys_time, sys_module, mac_admin and mac_override in
all templates.
Reported-by: Christoph Mitasch <cmitasch@thomas-krenn.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
ed4616b1cfbc84dd01caa8546d813e8c5d482921 |
|
21-Apr-2013 |
Christian Bühler <christian@cbuehler.de> |
Use "uname -m" instead of "arch"
According to "arch"'s manpage, it's identical to "uname -m".
Some distros ship uname but don't ship arch, however all distros ship uname,
therefore it makes sense to use "uname -m" whenever possible.
Signed-off-by: Christian Bühler <christian@cbuehler.de>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
36368228d286cd5c1492ae7aab92b4d78dbfb616 |
|
28-Feb-2013 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
templates: update for openSUSE 12.3
Update template to install openSUSE 12.3
Signed-off-by: Frederic Crozat <fcrozat@suse.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
285ee6b8f120ebb8f37578081fb4bdc400538306 |
|
28-Feb-2013 |
Jiri Slaby <jslaby@suse.cz> |
lxc-opensuse: print \n from one echo
Otherwise the output looks like:
Copying rootfs to /var/lib/lxc/tomcat/rootfs ...Please change
root-password !
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
f4936bf19c56a688eec182e1916c8b660e3a0058 |
|
28-Feb-2013 |
Jiri Slaby <jslaby@suse.cz> |
lxc-opensuse: proper failure
Fail if something goes wrong. We used to continue and show one failure
after another.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
e6242d6a3d3f94b72d1c5a86abab4d18fafbd984 |
|
28-Feb-2013 |
Jiri Slaby <jslaby@suse.cz> |
lxc-opensuse: extend base
Base no longer provides bash, sed and tar, but we need those. So add them.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
a7273db9f87f59815d36c3eca4d4501304ae84b2 |
|
28-Feb-2013 |
Frederic Crozat <fcrozat@suse.com> |
lxc-opensuse: update for 12.2
This adaptation of systemd. We also add network configuration support.
Jiri Slaby: cleanups, rebase
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
d696d21c2a7d5d15b3a456edd8ba742a5970d40a |
|
28-Feb-2013 |
Frederic Crozat <fcrozat@suse.com> |
shutdown fixes for openSUSE container
- mount /run on tmpfs outside container
- replace /var/run bind mount on /run by a symlink
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
ba4c42597399c72fbb0b8f99e6ded79f738a6ac3 |
|
28-Feb-2013 |
Frederic Crozat <fcrozat@suse.com> |
various fixes for openSUSE template for lxc-clone usage
- create /etc/hostname as symlink to /etc/HOSTNAME
- fix inadequate space in lxc.mount config, preventing lxc-clone to work
Jiri Slaby: some cleanups
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
fe253caa8b98854445aaf6ee253545ee1f13beb1 |
|
06-Dec-2012 |
Stéphane Graber <stgraber@ubuntu.com> |
templates: Consistent use of locking
Move to per-template lock (except for oracle that's per-container).
Also ensure that the path used for the lock is relative to LOCALSTATEDIR.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
14d9c0f09d1a55d124ef210a4b4e205c9fe7596c |
|
06-Dec-2012 |
Stéphane Graber <stgraber@ubuntu.com> |
Update for consistent indent
This commit updates all scripts using mixed indent to a consistent
4 spaces indent.
In the past quite a few of those scripts used tabs to instead of 8 spaces or
instead of 4 spaces, sometimes mixing those in the same line and sometimes
changing the tab width within the same file.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
eba7df9ee0a1963984ef212e7ddfc0e0835af288 |
|
06-Dec-2012 |
Stéphane Graber <stgraber@ubuntu.com> |
templates: Make generated config consistent
This updates all the templates and the configuration files to consistently
use "key = value" everywhere.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
e29bf450cafa2ce2564aeb0b64d2014c17228407 |
|
05-Dec-2012 |
Dwight Engen <dwight.engen@oracle.com> |
Use LXCPATH and LOCALSTATEDIR instead of hardcoded /var
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
44d397891e691ab994a69766cc72e57265b62da1 |
|
04-Dec-2012 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
templates: use hardlink detection in rsync
I'm not sure whether we want this: is -H ubiquitous?
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Michael H. Warfield <mhw@WittsEnd.com>
Acked-by: Dwight Engen <dwight.engen@oracle.com> |
1881820ae4ff9004beef1bf7f04553580840441d |
|
12-Nov-2012 |
Serge Hallyn <serge.halyn@ubuntu.com> |
lxc-create: Make location of container rootfs configurable
Make 'dir' an explicit backing store type, which accepts '--dir rootfs'
as an option to specify a custom location for the container rootfs. Also
update lxc-destroy to now remove the rootfs separately, as removing
@LXCPATH@/$name may not hit it.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
f02ce27d4b1a9d01b88d0ffaf626e5bafa671bf0 |
|
25-Oct-2012 |
Stéphane Graber <stgraber@ubuntu.com> |
Add lxc.aa_profile example to all templates
LXC has optional apparmor support, default profile is lxc-container-default.
This change adds a commented "lxc.aa_profile = default" line to all templates,
uncommenting this will bypass apparmor for the container.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> |
add1d11833394aaa3a3497c2fdf548e5b14c80d4 |
|
31-Jul-2012 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
templates: don't fail on busy flock
Just wait until the lock is available. That is a nicer behavior
for concurrent lxc-creates.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
80a881b232b8955b85b360d4def99e6e680ff61b |
|
31-Jul-2012 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
templates: use relative paths when creating containers
At the same time, allow lxc.mount.entry to specify an absolute target
path relative to /var/lib/lxc/CN/rootfs, even if rootfs is a blockdev.
Otherwise all such entries are ignored for blockdev-backed containers.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
6d8ac56b658a7aa35a46580c2df060c58ef02821 |
|
26-Feb-2012 |
Serge Hallyn <serge.hallyn@canonical.com> |
add lvm support to lxc-create
1. Some templates copy the cached pristine rootfs using 'cp a b' where b is
$lxc_path/$name/rootfs. That doesn't do the right thing if rootfs already
exists, as it will when it is an lvm or other mount. So switch to
'rsync a/ b/'. (cp can be made to work too of course).
2. Update lxc-create to support backing stores. For now only lvm is
implemented.
Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
44ee8a102e3d8052631fbb119f58a55ce678d039 |
|
28-Oct-2011 |
Frederic Crozat <fcrozat@suse.com> |
templates: update openSUSE template for openSUSE 12.1
rely on "build" package, to ensure chroot can be created with
distribution older than 12.1
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
c840b37de865195a8742e219b4374d961a21d4d9 |
|
04-Jul-2011 |
Frederic Crozat <fcrozat@suse.com> |
templates: add openSUSE template.
The good news is, starting with next openSUSE release (and next SLES 11
Service Pack), patching /etc/init.d/boot won't be needed anymore for
LXC, we integrated detection of LXC (through container variable set to
lxc) in /etc/init.d/boot and /dev is no longer mounted automatically by
initscript.
Signed-off-by: Frederic Crozat <fcrozat@suse.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |