From d12efd0471d2a02869b4aa167ff7247b6873b3cf Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 2 May 2018 13:19:54 +0200 Subject: [PATCH] Adding creating Bash conf --- bin/postinst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bin/postinst b/bin/postinst index c104101..d5ef497 100644 --- a/bin/postinst +++ b/bin/postinst @@ -391,6 +391,17 @@ install_pp_tcsh_env() { fi rm -fv "${local_tar}" + echo + echo "${HASH_LINE}" + echo + log "Pulling BASH config .." + + url="${COBBLER_URL}/custom/create-vmware-tpl/files/fbr.sh" + local tgt="/etc/profile.d/fbr.sh" + echo "Retrieving '${url}' -> '${tgt}' ..." + wget -O "${tgt}" --dns-timeout=2 --connect-timeout=3 --read-timeout=3 "${url}" || true + chmod -v 0644 "${tgt}" + } #----------------------------------------------------------- -- 2.39.5