From 03d6fd93088326c3cca685d882ba062be85901d1 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 26 Jun 2020 11:41:37 +0200 Subject: [PATCH] Enabling installation of signed Legato packages --- kickstart/template-centos8.ks | 8 ++++---- snippets/tpl.350.legato.sh | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kickstart/template-centos8.ks b/kickstart/template-centos8.ks index 446bfd7..e737c26 100644 --- a/kickstart/template-centos8.ks +++ b/kickstart/template-centos8.ks @@ -234,10 +234,10 @@ echo echo "Using snippet $root_ssh_snippet" $SNIPPET($root_ssh_snippet) -## #set $legato_snippet = "per_status/" + $SYSTEM_STATUS + "/tpl.350.legato.sh" -## echo -## echo "Using snippet $legato_snippet" -## $SNIPPET($legato_snippet) +#set $legato_snippet = "per_status/" + $SYSTEM_STATUS + "/tpl.350.legato.sh" +echo +echo "Using snippet $legato_snippet" +$SNIPPET($legato_snippet) #set $chrony_snippet = "per_status/" + $SYSTEM_STATUS + "/tpl.400.chrony.sh" echo diff --git a/snippets/tpl.350.legato.sh b/snippets/tpl.350.legato.sh index 929f128..345f437 100644 --- a/snippets/tpl.350.legato.sh +++ b/snippets/tpl.350.legato.sh @@ -16,13 +16,13 @@ install_legato() { local url_man="${COBBLER_URL}/custom/legato/lgtoman-latest.x86_64.rpm" echo "Installing lgtoclnt ..." - if yum install -y --nogpgcheck "lgtoclnt" ; then + if yum install -y "lgtoclnt" ; then : else echo "[$(date)]: Could not install lgtoclnt" | tee -a "${ERROR_POINTER}" fi echo "Installing lgtoman ..." - if yum install -y --nogpgcheck "lgtoman" ; then + if yum install -y "lgtoman" ; then : else echo "[$(date)]: Could not install lgtoman" | tee -a "${ERROR_POINTER}" -- 2.39.5