]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Bugfixing
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 28 May 2020 15:14:40 +0000 (17:14 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 28 May 2020 15:14:40 +0000 (17:14 +0200)
lib/cr_vmware_tpl/cobbler.py

index e4defec84f284ffd6c7b04d70fafbc5d844ac21d..d47f39f9f040284558aac1e7ac2657cbf9956d70 100644 (file)
@@ -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