mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-22 18:41:32 -05:00
Update install.sh
This commit is contained in:
parent
bce2300fa6
commit
1089dca092
@ -674,13 +674,13 @@ install_wings() {
|
|||||||
|
|
||||||
output "Installing Docker"
|
output "Installing Docker"
|
||||||
if [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ] || [ "$lsb_dist" != "almalinux" ]; then
|
if [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ] || [ "$lsb_dist" != "almalinux" ]; then
|
||||||
dnf -y install podman-docker
|
dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
|
||||||
systemctl enable --now podman.socket
|
dnf -y install docker-ce
|
||||||
else
|
else
|
||||||
curl -sSL https://get.docker.com/ | CHANNEL=stable bash
|
curl -sSL https://get.docker.com/ | CHANNEL=stable bash
|
||||||
systemctl enable --now docker
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
systemctl enable --now docker
|
||||||
output "Installing the Pterodactyl wings..."
|
output "Installing the Pterodactyl wings..."
|
||||||
mkdir -p /etc/pterodactyl
|
mkdir -p /etc/pterodactyl
|
||||||
cd /etc/pterodactyl || exit
|
cd /etc/pterodactyl || exit
|
||||||
|
Loading…
Reference in New Issue
Block a user