소스 검색

Merge pull request #832 from gravitl/hotfix_v0.11.0_rocky_linux

adding rocky linux support in install script
Alex Feiszli 3 년 전
부모
커밋
fe5402a732
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      scripts/netclient-install.sh

+ 4 - 0
scripts/netclient-install.sh

@@ -25,6 +25,10 @@ elif [ -f /etc/fedora-release ]; then
 	dependencies="wireguard"
 	update_cmd='dnf update'
 	install_cmd='dnf install -y'
+elif [ -f /etc/redhat-release ]; then
+	dependencies="wireguard"
+	update_cmd='yum update'
+	install_cmd='yum install -y'
 elif [ -f /etc/arch-releae ]; then
     	dependecies="wireguard-tools"
 	update_cmd='pacman -Sy'