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