fix: enable fuse and get teh correct archetecture for the contaienr

This commit is contained in:
silver 2024-01-27 23:07:53 +00:00
parent 47e1707d90
commit 9495789364

View file

@ -71,6 +71,7 @@ packages:
- containerd.io
- docker-buildx-plugin
- docker-compose-plugin
- fuse-overlayfs
action: install
actions:
@ -102,9 +103,12 @@ actions:
cp /etc/resolv.conf /etc/resolv.conf.bak
echo -e "\nnameserver 9.9.9.9" >> /etc/resolv.conf
# enable fuse
ln -s /usr/bin/fuse-overlayfs /usr/local/bin/fuse-overlayfs
# install the wings
mkdir -p /etc/pterodactyl
curl -L -o /usr/local/bin/wings "https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_$([[ "$(uname -m)" == "x86_64" ]] && echo "amd64" || echo "arm64")"
curl -L -o /usr/local/bin/wings "https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64"
chmod u+x /usr/local/bin/wings
# setup config file