[lxc-devel] [lxc/lxc] 7f8c40: lxc-ls: Add lxc.start.auto and lxc.group support
GitHub
noreply at github.com
Thu Dec 19 20:59:08 UTC 2013
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 7f8c403134edb9a10b2621a02323d7d4cb782939
https://github.com/lxc/lxc/commit/7f8c403134edb9a10b2621a02323d7d4cb782939
Author: Stéphane Graber <stgraber at ubuntu.com>
Date: 2013-12-19 (Thu, 19 Dec 2013)
Changed paths:
M src/lxc/lxc-ls
Log Message:
-----------
lxc-ls: Add lxc.start.auto and lxc.group support
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: cfd149a646bf7ada7e896e07494e5cde0859e437
https://github.com/lxc/lxc/commit/cfd149a646bf7ada7e896e07494e5cde0859e437
Author: Stéphane Graber <stgraber at ubuntu.com>
Date: 2013-12-19 (Thu, 19 Dec 2013)
Changed paths:
M src/lxc/lxc-ls
Log Message:
-----------
lxc-ls: Add workaround for nested containers
When accessing nested containers, hardcode the path to their config.
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: a6adab20ff4b58887ff1d4314c5736f54e139386
https://github.com/lxc/lxc/commit/a6adab20ff4b58887ff1d4314c5736f54e139386
Author: Stéphane Graber <stgraber at ubuntu.com>
Date: 2013-12-19 (Thu, 19 Dec 2013)
Changed paths:
M .gitignore
M configure.ac
M doc/Makefile.am
A doc/lxc-autostart.sgml.in
M src/lxc/Makefile.am
M src/lxc/arguments.c
M src/lxc/arguments.h
A src/lxc/lxc_autostart.c
Log Message:
-----------
Add lxc-autostart
This introduces a new lxc-autostart binary (and associated manpage)
which will let you start/shutdown/kill/restart any container that's
marked as lxc.start.auto=1. It respects the lxc.start.delay value,
sorts by lxc.start.order and filters by lxc.group.
By default it'll affect all containers that DO NOT have lxc.group
set. If -g is specified, ONLY containers in those group will be
affected. To have a command applied to all containers, the -a
argument can be used.
A -L flag is also offered for distributions wishing to start the
containers themselves while still using LXC's calculated order and
wait delays. Instead of performing the action, it'll print the container
name and (if relevant for the action) the wait time.
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Compare: https://github.com/lxc/lxc/compare/ee1e7aa0eb82...a6adab20ff4b
More information about the lxc-devel
mailing list