Merge branch 'bp-14324' into 2014.7

This commit is contained in:
Thomas S Hatch 2014-07-17 16:03:27 -06:00
commit b378dbbe14

View File

@ -1098,11 +1098,11 @@ def create(name, config=None, profile=None, options=None, **kwargs):
fstype = select('fstype')
size = select('size', '1G')
image = select('image')
if backing in ['dir', 'overlayfs']:
if backing in ['dir', 'overlayfs', 'btrfs']:
fstype = None
size = None
# some backends wont support some parameters
if backing in ['aufs', 'dir', 'overlayfs']:
if backing in ['aufs', 'dir', 'overlayfs', 'btrfs']:
lvname = vgname = None
if image: