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

index d47f39f9f040284558aac1e7ac2657cbf9956d70..6110501d82ca011f9e5bfa9deb6aa5b04666db8a 100644 (file)
@@ -236,6 +236,7 @@ class Cobbler(BaseHandler):
         cmd = textwrap.dedent("""\
         if [ -f {ks!r} ] ; then
             digest=$(sha256sum {ks!r} | awk '{{print $1}}')
+            ech "Digest: ${{digest}}"
             if [ "${{digest}}" != {dig!r} ] ; then
                 echo "SHA256 sum does not match." >&2
                 exit 4