mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-11-22 00:39:03 +01:00
Install semanage
command on CentoOS (#554)
CentOS has selinux enabled by default but it hasn't the `semanage` command required to run OpenVPN on another port. 'policycoreutils-python*' match `policycoreutils-python' in CentOS 7 and `policycoreutils-python-utils` in Centos 8.
This commit is contained in:
parent
3f2ad88cbf
commit
6bb87ae716
@ -625,7 +625,7 @@ function installOpenVPN () {
|
|||||||
apt-get install -y openvpn iptables openssl wget ca-certificates curl
|
apt-get install -y openvpn iptables openssl wget ca-certificates curl
|
||||||
elif [[ "$OS" = 'centos' ]]; then
|
elif [[ "$OS" = 'centos' ]]; then
|
||||||
yum install -y epel-release
|
yum install -y epel-release
|
||||||
yum install -y openvpn iptables openssl wget ca-certificates curl tar
|
yum install -y openvpn iptables openssl wget ca-certificates curl tar 'policycoreutils-python*'
|
||||||
elif [[ "$OS" = 'amzn' ]]; then
|
elif [[ "$OS" = 'amzn' ]]; then
|
||||||
amazon-linux-extras install -y epel
|
amazon-linux-extras install -y epel
|
||||||
yum install -y openvpn iptables openssl wget ca-certificates curl
|
yum install -y openvpn iptables openssl wget ca-certificates curl
|
||||||
|
Loading…
Reference in New Issue
Block a user