Merge pull request #449 from mwhudson/lvm-encrypted-edit

fix editing encrypted/passphrase of vg
This commit is contained in:
Dimitri John Ledkov 2019-04-11 00:41:26 +01:00 committed by GitHub
commit 901fef8705
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -376,6 +376,7 @@ class FilesystemController(BaseController):
d._constructed_device = existing
existing.name = spec['name']
existing.devices = spec['devices']
existing._passphrase = spec.get('password')
else:
self.create_volgroup(spec)