From: Frank Brehm Date: Thu, 25 Jun 2020 15:58:37 +0000 (+0200) Subject: Changes on Debug output X-Git-Tag: 2.1.2^2~7^2~5^2 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=d4196e47d05986130c8d6c0d64eaf1cfa02975a9;p=pixelpark%2Fcreate-vmware-tpl.git Changes on Debug output --- diff --git a/kickstart/template-centos7.ks b/kickstart/template-centos7.ks index 3ed3a67..552b91b 100644 --- a/kickstart/template-centos7.ks +++ b/kickstart/template-centos7.ks @@ -120,7 +120,7 @@ exec < /dev/console &> >(tee -a "$POST_LOG") ### debug -set -x +#set -x echo "cobbler profile = $profile_name" diff --git a/snippets/tpl.300.create-motd.sh b/snippets/tpl.300.create-motd.sh index 8a557c0..0215ae6 100644 --- a/snippets/tpl.300.create-motd.sh +++ b/snippets/tpl.300.create-motd.sh @@ -19,6 +19,10 @@ create_motd() { "${mk_script}" > /etc/motd mkdir -pv /root/bin cp -pv "${mk_script}" /root/bin/create-motd.sh + echo "Generated motd:" + cat /etc/motd + echo '<--' + echo else echo "[$(date)]: Could not get 'mk_create_motd.ksh' from '${url}'." | tee -a "${ERROR_POINTER}" fi