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