mirror of https://github.com/tteck/Proxmox.git
parent
13ece7ef08
commit
e075b4954a
|
@ -93,6 +93,9 @@ $STD apt-get install -y ntp
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing Pi-hole"
|
msg_info "Installing Pi-hole"
|
||||||
|
systemctl stop systemd-resolved
|
||||||
|
echo "DNSStubListener=no" >>/etc/systemd/resolved.conf
|
||||||
|
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
||||||
mkdir -p /etc/pihole/
|
mkdir -p /etc/pihole/
|
||||||
cat <<EOF >/etc/pihole/setupVars.conf
|
cat <<EOF >/etc/pihole/setupVars.conf
|
||||||
PIHOLE_INTERFACE=eth0
|
PIHOLE_INTERFACE=eth0
|
||||||
|
|
Loading…
Reference in New Issue