add classic confinment
This commit is contained in:
parent
d3abe106c9
commit
f60fcb61e6
@ -246,7 +246,7 @@ echo "Installing nginx"
|
|||||||
if [ "${ID}" = "debian" ] || [ "$OS" = "Ubuntu" ] || [ "$OS" = "Debian" ] || [ "${UPSTREAM_ID}" = "ubuntu" ] || [ "${UPSTREAM_ID}" = "debian" ]; then
|
if [ "${ID}" = "debian" ] || [ "$OS" = "Ubuntu" ] || [ "$OS" = "Debian" ] || [ "${UPSTREAM_ID}" = "ubuntu" ] || [ "${UPSTREAM_ID}" = "debian" ]; then
|
||||||
sudo apt -y install nginx
|
sudo apt -y install nginx
|
||||||
apt -y install snapd
|
apt -y install snapd
|
||||||
snap install certbot
|
snap install certbot --classic
|
||||||
elif [ "$OS" = "CentOS" ] || [ "$OS" = "RedHat" ] || [ "${UPSTREAM_ID}" = "rhel" ] || [ "${OS}" = "Almalinux" ] || [ "${UPSTREAM_ID}" = "Rocky*" ] ; then
|
elif [ "$OS" = "CentOS" ] || [ "$OS" = "RedHat" ] || [ "${UPSTREAM_ID}" = "rhel" ] || [ "${OS}" = "Almalinux" ] || [ "${UPSTREAM_ID}" = "Rocky*" ] ; then
|
||||||
# openSUSE 15.4 fails to run the relay service and hangs waiting for it
|
# openSUSE 15.4 fails to run the relay service and hangs waiting for it
|
||||||
# Needs more work before it can be enabled
|
# Needs more work before it can be enabled
|
||||||
|
Loading…
x
Reference in New Issue
Block a user