Requirements - iuginP/proxmox-homelab GitHub Wiki
Before you begin, ensure your workstation meets the following requirements:
- Packer: Tool for creating machine images and templates.
- Terraform: Infrastructure as Code (IaC) tool for provisioning the infrastructure VMs.
- Ansible: Automation tool for configuration management of the infrastructure.
Installing Packer
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install packer
For more details on the installation, follow the instructions on the official website.
Than install the plugins to work with Proxmox:
packer plugins install github.com/hashicorp/proxmox
Installing Terraform
wget -O - https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update && sudo apt install terraform
For more details on the installation, follow the instructions on the official website.
Installing Ansible
To use ansible you can either install it on the system:
sudo apt-get update && sudo apt-get install ansible
Or you can use the custom environment (recommended):
cd ansible
make install