From e7372aba5e161abcbe8c13b729c376252dedcc55 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 28 May 2020 17:11:39 +0200 Subject: [PATCH] Bugfixing --- lib/cr_vmware_tpl/cobbler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cr_vmware_tpl/cobbler.py b/lib/cr_vmware_tpl/cobbler.py index e46a6af..e17b26f 100644 --- a/lib/cr_vmware_tpl/cobbler.py +++ b/lib/cr_vmware_tpl/cobbler.py @@ -228,7 +228,7 @@ class Cobbler(BaseHandler): str(local_ks)) raise ExpectedCobblerError(msg) local_ks_content = local_ks.read_bytes() - digest = hashlib.sha256(m).hexdigest() + digest = hashlib.sha256(local_ks_content).hexdigest() if self.verbose > 1: LOG.debug(_('{typ} sum of {ks!a}r is: {dig}').format( typ='SHA256', ks=str(local_ks), dig=digest)) -- 2.39.5