Python Toolkit for Proxmox, Debian, and Ubuntu based hosts.
You may see examples here: EXAMPLES.md
- stretch
- buster
- bullseye
- bookworm
- trixie
- focal
- xenial
- bionic
- jammy
- noble
All dependencies will work, pip packages are not required for any scripts for the moment.
The standard APT python3 package will suffice.
If auto-complete is desired you'll also require python3-argcomplete, and always be
in the python toolkit folder.
# Update and ensure git and python3 are installed.
apt update -y
apt install git python3 -y
# If auto-complete is desired
apt install python3-argcomplete
# Choose a preferred directory to clone the repo
cd /opt/
# Clone the Repository
git clone https://github.com/dblanque/py-proxmox-toolkit
# Change Directory
cd /opt/py-proxmox-toolkit
# If auto-complete is desired
sudo bash enable_autocomplete.sh
# Using pve_repositories.py as an example.
./main.py scripts/setup/microcode.py
# OR
./main.py scripts.post_install.pve_repositories- NOT REQUIRED AS OF YET.
# After executing the previous steps above, ensure python3-venv is installed.
apt install python3-venv -y
# Setup the virtual environment with the provided script.
cd /opt/py-proxmox-toolkit
bash setup_venv.sh ./