DescriptionSet lxc autostart after creation.
Currently for a recent LXC version, the autostart is controlled
by a setting in the lxc config. We were setting this in the
config file that we use for creation. However this is not clone
friendly, as we do not specify a config file for clone.
However it is perfectly valid to modify the config for the container
once it has been created. This then becomes common for both
normally created containers and those that have been cloned.
A key here is that our template container that we want to use
as a base to clone off we do not want auto-starting, however
the containers that we clone off that may well want to auto-start
(in fact all will until we add the autostart policy for local).
https://code.launchpad.net/~thumper/juju-core/autostart-containers-after-creation/+merge/210099
Requires: https://code.launchpad.net/~thumper/juju-core/fast-lxc/+merge/209801
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 5
Patch Set 2 : Set lxc autostart after creation. #
MessagesTotal messages: 5
|