Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.08 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.08 KB

🤖 Proxmox Automatic Deploy (PAD)

PAD is used to completely automate the vm deployment. It clones a template, configures DNS and deploys a basic ansible playbook.

🏃🏽‍♂️ Installation

pip install -r requirements.txt Install all required dependencies.

🧑🏽‍💻 Usage

  1. 🚗 Copy the config file
cp config.example.toml config.toml
  1. 🤓 Set your variables accordingly in config.toml
  2. 🧐 For instructions on how to use PAD check the inbuilt help function
./automatic_deploy.py -h
usage: automatic_deploy.py [-h] --fqdn FQDN --template TEMPLATE --cname CNAME --pool POOL [--node NODE]

This script copys the debian template, creates a VM, registers IPs in NETVS and sets CNAME in hosting.de

options:
  -h, --help           show this help message and exit
  --fqdn FQDN          fqdn to name VM and register ip addresses
  --template TEMPLATE  Name of the template to clone
  --cname CNAME        cname in hosting.de for custom DN
  --pool POOL          Resource pool to use for VM
  --node NODE          Node to clone VM to
  1. 🤑 Profit