Install Pi-hole on Ubuntu as Proxmox Virtual Machine
I have yet to install Pi-hole on Proxmox from scratch… I converted the existing Unraid VM to Proxmox. The below steps outline that process and I hope to update this page with instructions for a fresh install. If not, do it on Unraid and then follow the below :D. If you are attempting to install a fresh copy, use the below Proxmox Settings and then upload the iso and go from there… should be straight forward.
Proxmox Settings
-
System
Disks
CPU
Sockets: 1
Cores: 1
Type: host
Memory
Network
Confirm
Move virtual disk over
Erase old disk
Import new disk
move the new disk to a location that proxmox can see it (see adding share in the install proxmox section)
ssh into proxmox or open a shell (Datacenter → node name, then click >_ Shell
go to the folder of that new disk (cd /mnt/pve/unraid/ for example)
rename the image to a .raw file
type the import command:
qm importdisk 101 vdisk1.raw local-lvm --format raw
after complete go to the vm → hardware and double click on the unused disk and click Add
go to Options → Boot Order and set the boot order to the top.
-
Cleanup