[anaconda:master] Make missing encryption key error message more helpful (#1074441)
Martin Kolman
mkolman at redhat.com
Tue Aug 19 11:07:13 UTC 2014
On Mon, 2014-08-18 at 12:31 -0400, mulhern wrote:
> Resolves: rhbz#1074441
>
> Signed-off-by: mulhern <amulhern at redhat.com>
> ---
> pyanaconda/storage_utils.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pyanaconda/storage_utils.py b/pyanaconda/storage_utils.py
> index 0c5ab56..069302c 100644
> --- a/pyanaconda/storage_utils.py
> +++ b/pyanaconda/storage_utils.py
> @@ -335,4 +335,4 @@ def verify_LUKS_devices_have_key(storage):
> d.format.type == "luks" and \
> not d.format.exists and \
> not d.format.hasKey):
> - yield LUKSDeviceWithoutKeyError(_("LUKS device %s has no encryption key") % (dev.name,))
> + yield LUKSDeviceWithoutKeyError(_("Encryption requested for LUKS device %s but no encryption key specified for this device.") % (dev.name,))
Looks good, ACK!
More information about the anaconda-patches
mailing list