From e055b07569da0d7fbcb0b9500767acde8467c541 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 28 May 2020 17:17:27 +0200 Subject: [PATCH] Debug output --- lib/cr_vmware_tpl/cobbler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cr_vmware_tpl/cobbler.py b/lib/cr_vmware_tpl/cobbler.py index d47f39f..6110501 100644 --- a/lib/cr_vmware_tpl/cobbler.py +++ b/lib/cr_vmware_tpl/cobbler.py @@ -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 -- 2.39.5