You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've adjusted the python-hosts "hosts.py" on line 203 & 211 from:
"{0}\t{1}\n".format(
to
"{0} {1}\n".format(
I then use sudo python /home/pi/client-mapping.py -f /etc/pihole/custom.list -c ControllerIP -u Username -p Password
to update the custom.list file instead of the /etc/hosts file. If needed I can see and edit in the Web UI now (although any changes will get overwritten upon each cron job).
Not sure if there is a way to update the main client-mapping.py script to adjust for a space instead of a tab, rather than having to edit the hosts.py
Thanks,
Shane.
The text was updated successfully, but these errors were encountered:
I've adjusted the python-hosts "hosts.py" on line 203 & 211 from:
"{0}\t{1}\n".format(
to
"{0} {1}\n".format(
I then use sudo python /home/pi/client-mapping.py -f /etc/pihole/custom.list -c ControllerIP -u Username -p Password
to update the custom.list file instead of the /etc/hosts file. If needed I can see and edit in the Web UI now (although any changes will get overwritten upon each cron job).
Not sure if there is a way to update the main client-mapping.py script to adjust for a space instead of a tab, rather than having to edit the hosts.py
Thanks,
Shane.
The text was updated successfully, but these errors were encountered: