X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=infra%2Fjenkins%2Fslave-setup%2Fcloud-infra%2Fconfigure-image-ubuntu1804.sh;h=ab00278922b0fd2710c1b19f7d6cc718147b3e52;hb=refs%2Fchanges%2F76%2F17276%2F1;hp=9243b99379c933747a97c1b15e1e789f8fa616d3;hpb=a99050db7d78e2833cc6e2ed0c52b9eb5eaf6e10;p=infra%2Ftools.git diff --git a/infra/jenkins/slave-setup/cloud-infra/configure-image-ubuntu1804.sh b/infra/jenkins/slave-setup/cloud-infra/configure-image-ubuntu1804.sh index 9243b99..ab00278 100644 --- a/infra/jenkins/slave-setup/cloud-infra/configure-image-ubuntu1804.sh +++ b/infra/jenkins/slave-setup/cloud-infra/configure-image-ubuntu1804.sh @@ -45,6 +45,7 @@ PKG_LIST=( wget chrony openjdk-11-jre-headless + jq ) # we need apt to proceed without any prompt asking for user input @@ -58,6 +59,13 @@ sudo -H -E apt upgrade -y -q=3 # install packages sudo -H -E apt -y -q=3 install ${PKG_LIST[@]} +# If you have a issue with Let's Encrypt certificate when cloning repo due to DST Root CA X3 Expiration: +# https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ +# remove outdated certificate from system +sudo rm -rf /usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt +# update ca-certificates +sudo update-ca-certificates --fresh --verbose + # remove unnecessary packages sudo -H -E apt autoremove -y