mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge branch 'bp-14324' into 2014.7
This commit is contained in:
commit
b378dbbe14
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user