]> git.proxmox.com Git - mirror_lxc.git/commit
lxc-autostart: Add a new --ignore-auto/-A flag
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 7 Mar 2014 18:32:16 +0000 (13:32 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 7 Mar 2014 22:18:44 +0000 (17:18 -0500)
commite582991fd00734436ad0cc95c42cc3d16fd3d229
treeb5684d9057a2cd4bd2b701f4ff39a80ce6d369e8
parente447a8a706cc786257bc755a25e6441a766b0a4d
lxc-autostart: Add a new --ignore-auto/-A flag

When passed, this flag will cause lxc-autostart to ignore the value of
lxc.start.auto.

This then allows things like: lxc-autostart -s -a -A

Which will select all containers regardless of groups (-a), regardless
of whether they are actually marked as auto-started (-A) and will shut
them down (-s).

Update our init scripts to use the new feature.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
config/init/sysvinit/lxc
config/init/upstart/lxc.conf
doc/lxc-autostart.sgml.in
src/lxc/arguments.h
src/lxc/lxc_autostart.c