Proxmox Setup

To prevent Contractor from DHCPing your other systems, you will want to create a private network to build contractor’s targets in. This demo assumes it will be 10.0.0.1/24. For our example name it “internal”, if you choose to name it something else, make sure that change is reflected in the name of the address block that will be created later.

After you create the network/port group, add a second interface to the contractor VM on this new network, and assign the ip 10.0.0.10 to that interface.

In the /etc/subcontractor.conf file under the dhcpd section, set the listen_interface to the name of the newly created interface.

Now you will need to install python3-proxmoxer:

sudo apt install -y python3-proxmoxer python3-requests

Proxmox does throw occasional errors that the dpkged verion of proxmoxer can’t handle. If you find your self with errors like “KeyError (596)” you will want to ‘pip3 install proxmoxer’ to get at least version 1.1.1 where that is fixed.

return to Setup