From 151421cee682740f76874674c2ab7bbdd42ff696 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 28 May 2020 17:14:40 +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 e4defec..d47f39f 100644 --- a/lib/cr_vmware_tpl/cobbler.py +++ b/lib/cr_vmware_tpl/cobbler.py @@ -236,7 +236,7 @@ class Cobbler(BaseHandler): cmd = textwrap.dedent("""\ if [ -f {ks!r} ] ; then digest=$(sha256sum {ks!r} | awk '{{print $1}}') - if [ "${digest}" != {dig!r} ] ; then + if [ "${{digest}}" != {dig!r} ] ; then echo "SHA256 sum does not match." >&2 exit 4 fi -- 2.39.5