mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #29744 from kiorky/vgname
Fix #29742: vgname is lost in the middle
This commit is contained in:
commit
235435661d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user