fixed some stuff and included net-tools
This commit is contained in:
@@ -294,7 +294,7 @@ onlyofficeJWT="$(rand_hex)"
|
||||
# install docker
|
||||
echo "Updating apt and installing prerequisites..."
|
||||
apt update
|
||||
apt install -y ca-certificates curl git openssl curl gawk coreutils grep jq sqlite3 iso-codes
|
||||
apt install -y ca-certificates curl git openssl curl gawk coreutils grep jq sqlite3 iso-codes net-tools
|
||||
|
||||
echo "Setting up Docker GPG key..."
|
||||
install -m 0755 -d /etc/apt/keyrings
|
||||
@@ -923,6 +923,7 @@ EOF
|
||||
section=$((section + 1))
|
||||
fi
|
||||
|
||||
if [ "$SHOULD_PAUSE" -eq "false" ]; then
|
||||
# 3. Nginx and Dockge Pre-Configuration
|
||||
cat >> "$tasks_file" <<EOF
|
||||
|
||||
@@ -947,6 +948,7 @@ reset the password to your own password and change the username if desired.
|
||||
|
||||
EOF
|
||||
section=$((section + 1))
|
||||
fi
|
||||
|
||||
# 4. Certificate Configuration
|
||||
if [ "$external_access_method" -eq 1 ]; then
|
||||
@@ -1059,6 +1061,7 @@ section=$((section + 1))
|
||||
|
||||
|
||||
# 6. Service Configurations
|
||||
if [ "$SHOULD_PAUSE" -eq "false" ]; then
|
||||
cat >> "$tasks_file" <<EOF
|
||||
|
||||
$section. CONFIGURE SERVICES
|
||||
@@ -1074,7 +1077,7 @@ BOOKSTACK:
|
||||
|
||||
EOF
|
||||
section=$((section + 1))
|
||||
|
||||
fi
|
||||
# 7. Uptime Kuma Configuration (last since it depends on DNS and HTTPS)
|
||||
cat >> "$tasks_file" <<EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user