mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2025-03-14 21:38:18 +01:00
Add openssl and squid installation logic for rhel9
This commit is contained in:
parent
f41f30911d
commit
3b8178b291
@ -6,6 +6,8 @@ ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g')
|
||||
if [[ "${DISTRO}" == @(centos|oracle7|oracle8|oracle9|fedora37|fedora38|fedora39|fedora40|almalinux8|almalinux9|rockylinux8|rockylinux9) ]]; then
|
||||
dnf install -y openssl xkbcomp
|
||||
rm -f /etc/X11/xinit/xinitrc
|
||||
if [[ "${DISTRO}" == "rhel9" ]]; then
|
||||
dnf install -y openssl
|
||||
elif [[ "${DISTRO}" == "alpine" ]]; then
|
||||
apk add --no-cache openssl
|
||||
elif [ "${DISTRO}" == "opensuse" ]; then
|
||||
@ -26,7 +28,7 @@ else
|
||||
fi
|
||||
|
||||
# Update squid conf with user info
|
||||
if [[ "${DISTRO}" == @(centos|oracle7|oracle8|oracle9|fedora37|fedora38|fedora39|fedora40|almalinux8|almalinux9|rockylinux8|rockylinux9|alpine) ]]; then
|
||||
if [[ "${DISTRO}" == @(centos|oracle7|oracle8|oracle9|fedora37|fedora38|fedora39|fedora40|almalinux8|almalinux9|rockylinux8|rockylinux9|alpine|rhel9) ]]; then
|
||||
useradd --system --shell /usr/sbin/nologin --home-dir /bin proxy
|
||||
elif [ "${DISTRO}" == "opensuse" ]; then
|
||||
useradd --system --shell /usr/sbin/nologin --home-dir /bin proxy
|
||||
|
Loading…
Reference in New Issue
Block a user