From: Frank Brehm Date: Mon, 22 Jun 2020 12:44:36 +0000 (+0200) Subject: Fixing snippets/tpl.350.legato.sh for using a YUM repository X-Git-Tag: 2.1.2^2~9^2~31^2~16 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=2cb73399319f12c937eb38c951a011af51d78fb3;p=pixelpark%2Fcreate-vmware-tpl.git Fixing snippets/tpl.350.legato.sh for using a YUM repository --- diff --git a/snippets/tpl.350.legato.sh b/snippets/tpl.350.legato.sh index b9533f4..345f437 100644 --- a/snippets/tpl.350.legato.sh +++ b/snippets/tpl.350.legato.sh @@ -15,17 +15,17 @@ install_legato() { local url_client="${COBBLER_URL}/custom/legato/lgtoclnt-latest.x86_64.rpm" local url_man="${COBBLER_URL}/custom/legato/lgtoman-latest.x86_64.rpm" - echo "Installing from URL '${url_client}' ..." - if yum install -y "${url_client}" ; then + echo "Installing lgtoclnt ..." + if yum install -y "lgtoclnt" ; then : else - echo "[$(date)]: Could not install from ${url_client}" | tee -a "${ERROR_POINTER}" + echo "[$(date)]: Could not install lgtoclnt" | tee -a "${ERROR_POINTER}" fi - echo "Installing from URL '${url_man}' ..." - if yum install -y "${url_man}" ; then + echo "Installing lgtoman ..." + if yum install -y "lgtoman" ; then : else - echo "[$(date)]: Could not install from ${url_man}" | tee -a "${ERROR_POINTER}" + echo "[$(date)]: Could not install lgtoman" | tee -a "${ERROR_POINTER}" fi mkdir -pv /nsr/res