Possible Bug when uninstalling PiHole

On my test device I uninstalled PiHole,
at some point it asked me to uninstall git and some other dependencies. I can’t really remember the name, something with IP and a 2 in it. (maybe iperf2 or something?)

I thought I could easily uninstall all of these packages bc they came with pihole, but now I’m unable to SSH into my Pi anymore. (which is no big deal, it’s just my test Pi)

Maybe it’s part of the PiHole uninstall script, maybe part of dietpi script?
idk

This is a really bad behaviour of PiHole uninstall script (not DietPi). We tried to convince PiHole devs to remove this question or change it into an information only. But without success unfortunately.

You are not the first one and you will not be last

https://dietpi.com/forum/t/dietpi-fail-to-find-eithernet-connection-at-boot-time/5254/1
https://dietpi.com/forum/t/removal-of-pi-hole-removed-ip-command-stuck-in-boot-net-wait/4976/1

PiHole GitHub issue https://github.com/pi-hole/pi-hole/issues/3929