Remove need for custom DNS (#143)
Some checks are pending
Deploy Next.js site to Pages / build (push) Waiting to run
Deploy Next.js site to Pages / deploy (push) Blocked by required conditions

This commit is contained in:
Rémi Bédard-Couture 2024-11-08 20:16:24 -05:00 committed by GitHub
parent 970571a141
commit 6afb28f887
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,17 +20,7 @@ $STD apt-get install -y mc
msg_ok "Installed Dependencies"
msg_info "Installing NextCloudPi (Patience)"
$STD apt-get install -y systemd-resolved
systemctl enable -q --now systemd-resolved
cat <<'EOF' >/etc/systemd/resolved.conf
[Resolve]
DNS=8.8.8.8
FallbackDNS=8.8.4.4
EOF
systemctl restart systemd-resolved
$STD bash <(curl -fsSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh)
systemctl disable -q --now systemd-resolved
$STD apt-get remove -y systemd-resolved
msg_ok "Installed NextCloudPi"
motd_ssh