From 9bc0bb3743879bbf94427baa375398864ab4ec8b Mon Sep 17 00:00:00 2001 From: "ryan.kuba" Date: Tue, 15 Aug 2023 14:41:26 -0400 Subject: [PATCH] KASM-4851 update squid install on jammy/kali --- src/ubuntu/install/squid/install/install_squid.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/ubuntu/install/squid/install/install_squid.sh b/src/ubuntu/install/squid/install/install_squid.sh index 8055efd..87814e6 100644 --- a/src/ubuntu/install/squid/install/install_squid.sh +++ b/src/ubuntu/install/squid/install/install_squid.sh @@ -6,12 +6,10 @@ ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g') # intall squid SQUID_COMMIT='1149fc830c7edcb383eec390cce2beba16befde5' if $(grep -q Jammy /etc/os-release) || $(grep -q Kali /etc/os-release) ; then - apt-get update - apt-get install -y squid-openssl - mkdir -p /usr/local/squid/sbin - mkdir -p /usr/local/squid/var/logs/ - ln -s /usr/lib/squid/ /usr/local/squid/libexec - ln -s /usr/sbin/squid /usr/local/squid/sbin/squid + wget -qO- https://kasmweb-build-artifacts.s3.amazonaws.com/kasm-squid-builder/${SQUID_COMMIT}/output/kasm-squid-builder_${ARCH}.tar.gz | tar -xzf - -C / + wget https://kasm-ci.s3.amazonaws.com/libssl1.1.${ARCH}.deb + dpkg -i libssl1.1.${ARCH}.deb + rm -f libssl1.1.${ARCH}.deb elif [[ "${DISTRO}" != @(centos|oracle7|oracle8|oracle9|opensuse|fedora37|fedora38|rockylinux9|rockylinux8|almalinux9|almalinux8|alpine) ]] ; then wget -qO- https://kasmweb-build-artifacts.s3.amazonaws.com/kasm-squid-builder/${SQUID_COMMIT}/output/kasm-squid-builder_${ARCH}.tar.gz | tar -xzf - -C / fi