Default to a name based on the uuid for existing luks mappings.
Looks good,
Regards,
Hans
David Lehman wrote:
This is what we default to in the device tree, so this just
lines the two up.
---
storage/formats/luks.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
+ if not self.mapName and self.exists and self.uuid:
+ self.mapName = "luks-%s" % self.uuid
+ elif not self.mapName and self.device:
self.mapName = "luks-%s" % os.path.basename(self.device)
def _setPassphrase(self, passphrase):
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list