@LXC_GENERATE_DATE@lxc-wait1lxc-wait
wait for a specific container state
lxc-wait -n name-s statesDescriptionlxc-wait waits for a specific container state
before exiting, this is useful for scripting.
Options
Specify the container name to be waited.
Specify the container state(s) to wait for. The container
states can be ORed to specify several states.
Exampleslxc-wait -n foo -s RUNNING
exits when 'RUNNING' is reached.
lxc-wait -n 'RUNNING|STOPPED'
exits when 'RUNNING' or 'STOPPED' state is reached.
DiagnosticThe container was not found
The specified container was not created before with
the lxc-create command.
See Alsolxc-info1,
AuthorDaniel Lezcano daniel.lezcano@free.fr