From 2877077c2d758392aed4841b2f41abcc54692ab4 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Thu, 11 Sep 2025 12:28:26 -0700 Subject: [PATCH] Update startup.sh --- terraform/startup.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/terraform/startup.sh b/terraform/startup.sh index 0d6c888..8fa4e0d 100644 --- a/terraform/startup.sh +++ b/terraform/startup.sh @@ -1,10 +1,7 @@ #!/usr/bin/env bash set -euo pipefail -dnf -y update -dnf -y install git wget curl openssl sqlite firewalld -systemctl enable --now firewalld -firewall-cmd --permanent --add-port=3000/tcp -firewall-cmd --reload +apt-get update +apt-get install -y wget curl openssl git sqlite3 LATEST_GITEA=$(curl -s https://dl.gitea.io/gitea/ | grep -Eo 'href="[0-9]+\.[0-9]+\.[0-9]+/' | sed 's/href="//;s/\///' | sort -V | tail -1) wget -qO /usr/local/bin/gitea "https://dl.gitea.io/gitea/${LATEST_GITEA}/gitea-${LATEST_GITEA}-linux-amd64" chmod +x /usr/local/bin/gitea @@ -66,4 +63,3 @@ Restart=always WantedBy=multi-user.target EOF systemctl daemon-reload -systemctl enable act-runner \ No newline at end of file