Merge pull request #29744 from kiorky/vgname

Fix #29742: vgname is lost in the middle
This commit is contained in:
Mike Place 2015-12-16 07:39:59 -07:00
commit 235435661d

View File

@ -1395,6 +1395,7 @@ def init(name,
# If using a volume group then set up to make snapshot cow clones
if vgname and not clone_from:
try:
kwargs['vgname'] = vgname
clone_from = _get_base(profile=profile, **kwargs)
except (SaltInvocationError, CommandExecutionError) as exc:
ret['comment'] = exc.strerror