Pi-hole - credit

This commit is contained in:
unman 2022-08-05 15:23:21 +00:00
parent a8687db2f1
commit a19480107b
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C

View File

@ -30,6 +30,10 @@ You should change this on first use, by running:
`pihole -a -p`
The implementation is based on work by Patrizio Tufarolo,
(https://blog.tufarolo.eu/how-to-configure-pihole-in-qubesos-proxyvm/ ),
and updated for Qubes 4.1
for i in `qvm-ls -O NAME,NETVM | awk '/ sys-firewall/{ print $1 }'`; do qvm-prefs $i netvm sys-pihole; done
if [[ $(qubes-prefs default_netvm sys-firewall |grep sys-firewall ) ]]; then qubes-prefs default_netvm sys-pihole; fi