mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fixed bug in lxc module: lvname using wrong parameter in cmd
This commit is contained in:
parent
5fe4de8f62
commit
283d86ec12
@ -1890,7 +1890,7 @@ def create(name,
|
||||
cmd += ' -B {0}'.format(backing)
|
||||
if backing in ('lvm',):
|
||||
if lvname:
|
||||
cmd += ' --lvname {0}'.format(vgname)
|
||||
cmd += ' --lvname {0}'.format(lvname)
|
||||
if vgname:
|
||||
cmd += ' --vgname {0}'.format(vgname)
|
||||
if backing not in ('dir', 'overlayfs'):
|
||||
|
Loading…
Reference in New Issue
Block a user