From: Frank Brehm Date: Thu, 28 May 2020 15:14:40 +0000 (+0200) Subject: Bugfixing X-Git-Tag: 2.1.2^2~9^2~31^2~90 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=151421cee682740f76874674c2ab7bbdd42ff696;p=pixelpark%2Fcreate-vmware-tpl.git Bugfixing --- 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