From: Frank Brehm Date: Tue, 8 Jun 2021 11:19:52 +0000 (+0200) Subject: Succcess message X-Git-Tag: 2.2.6^2^2~1 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=32a56413dcd398a2f88479f8c53c1c4e87f48302;p=pixelpark%2Fcreate-vmware-tpl.git Succcess message --- diff --git a/bin/get-centos8-streams-boot b/bin/get-centos8-streams-boot index c57ca12..166cc92 100755 --- a/bin/get-centos8-streams-boot +++ b/bin/get-centos8-streams-boot @@ -8,7 +8,7 @@ DEBUG="n" QUIET='n' SIMULATE="n" -VERSION="0.3.4" +VERSION="0.3.5" BASE_NAME="$(basename ${0})" BASE_DIR="$(dirname ${0})" @@ -49,6 +49,7 @@ LOG_ROOTDIR="/var/log" LOG_BASENAME="update-centos8-streams-boot.log" ISO_IMAGE_DIR="/var/tmp/isos" ISO_IMAGE= +COBBLER_DISTRO_NAME='CentOS-8-Stream-x86_64' HAS_TTY='y' @@ -775,6 +776,25 @@ perform_mirror() { echo "${tstamp}" > "${TIMESTAMP_FILE}" fi + local msg=$( cat <<-EOF + Congratulation! + + The Cobbler distribution '${GREEN}${COBBLER_DISTRO_NAME}${NORMAL}' was sussesful updated from '${CYAN}${mirror}${NORMAL}'. + The new timestamp is: ${CYAN}${tstamp}${NORMAL} + + Cheers + root@$( hostname -f ) + + $( my_date ) + + EOF + ) + empty_line + dline + echo -e "${msg}" + empty_line + line + return ${ret} }