fix editing encrypted/passphrase of vg

This commit is contained in:
Michael Hudson-Doyle 2019-04-10 16:24:35 +12:00
parent 2edf1497dd
commit 67e03aa890
1 changed files with 1 additions and 0 deletions

View File

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