Pi-hole LXC Container

dac9

New Member
Mar 6, 2025
1
0
1
Hey All,

I am creating a script to setup a Proxmox 8 LXC Container for Pi-hole with the following services & packages:

Pi-hole
Tailscale
Unbound
DOH (Cloudflare & Quad9)
DOT (Cloudflare & Quad9)
DNSDist
DNS01 (Method: TXT Record)

The script is here:
HERE

I get an an error when it gets to the Pi-hole installation section.

Error:
"Pihole Installer exited at static IP message"

I am unsure how to fix this.

Does anyone have any suggestions?

--
D
 
Just browsed your script quickly;

But if it is waiting for this expect "*static IP address*" { send "\r" } (line 112) to be outputted from the Pi-hole installer script (line 730) then it appears that it is in all-caps. AFAIK expect is case-sensitive unless using the -nocase option as here.

So you should probably instead have: expect "*STATIC IP ADDRESS*" { send "\r" }

Good luck.