Commit Graph

3 Commits

Author SHA1 Message Date
Jesse Pretorius
7350566566 Clean up container create task files
As it turns out, all the copy-on-write create task
files just include the cow task file so in this
patch we just clean it up to use symbolic links.

The cow task filename is also renamed to be
consistent with the others.

This also happens to fix a bug where the include
for the zfs file system referred to the wrong
file name for the include task.

Change-Id: I4ef6e2be526e18548334bd3ee9f759196501edeb
2017-10-11 16:36:57 +01:00
Jonathan Rosser
bd46a48064 Add ZFS backing store to the container create role
Fill out the stub task to create a container using the existing
copy-on-write tasks when the backing store is zfs.

Change-Id: I7d9c975319aed13b60299e2040eadcd31fff428f
2017-10-05 15:29:43 +01:00
Kevin Carter
3c22200109 Update the LXC container create role
The LXC container create role has not been updated to use some of our
more well throughout patterns and layouts. This change updates the role
so that its following our normal role conventions and simplifying task
execution.

New tags have been added to follow the basic tag pattern found in all
other roles. The two tags now supported are lxc-config, and lxc-create.

The creation backends have been seperated out into dynamically included
files. This will reduce our "skips" which will improve execution time
and assist developers in understanding what is happening when a
container is created. Stubbs for BTRFS and ZFS container types have been
added so future work can continue on those two store options without
impacting our normal workflow.

All task files have been updated to use the "lxc_" prefix which follows
the pattern found in everyone of our roles.

Change-Id: I0982a42321cf88f66442b5f766729f17c68e8e4a
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-10-05 09:51:20 +00:00