mirror_lxc/hooks
Scott Moser 65d8ae9c4a add a clone hook for ubuntu-cloud images
This allows ability to now specify '--userdata' arguments to 'create' or
to 'clone'. So now, the following means very fast start of instances with
different user-data.

$ sudo lxc-create -t ubuntu-cloud -n precise -- \
   -r precise --arch amd64

$ sudo lxc-clone -B overlayfs -o precise -s -n ephem1 \
   --userdata="my.userdata1"
$ sudo lxc-clone -B overlayfs -o precise -s -n ephem2 \
   --userdata="my.userdata2"

Also present here is
 * an improvement to the static list of Ubuntu releases. It uses
   ubuntu-distro-info if available degrades back to a static list on failure.
 * moving of the replacement variables to the top of the create template This
   is just to make it more obvious what is being replaced and put them in a
   single location.

Signed-off-by: Scott Moser <smoser@ubuntu.com>
2013-08-09 08:40:25 -05:00
..
clonehostname add clonehostname hook 2013-07-10 14:08:43 -05:00
Makefile.am add clonehostname hook 2013-07-10 14:08:43 -05:00
mountcgroups Accomodate stricter devices cgroup rules 2013-07-11 10:26:33 -05:00
mountecryptfsroot Add example hooks from Ubuntu package 2013-02-19 23:34:07 -05:00
ubuntu-cloud-prep add a clone hook for ubuntu-cloud images 2013-08-09 08:40:25 -05:00