debian_ansible_hands-free_installs
This is an old revision of the document!
Table of Contents
Debian/Ansible/Hands-Free/Installs Initiative
Create the Debian Cloud-Init Template on Proxmox
Run these commands in the Proxmox host shell:
# 1. Download the latest Debian 13 Cloud Image (Generic QCOW2)
wget https://cloud.debian.org/images/cloud/trixie/latest/debian-13-generic-amd64.qcow2
# 2. Create a new VM (ID 9000 used as an example)
qm create 9000 --name "debian-13-template" --memory 2048 --net0 virtio,bridge=vmbr0
# 3. Import the disk into your Proxmox storage (replace 'local-lvm' with your storage name)
qm importdisk 9000 debian-13-generic-amd64.qcow2 local-lvm
# 4. Attach the disk to the VM
qm set 9000 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-9000-disk-0
# 5. Add Cloud-Init CD-ROM drive
qm set 9000 --ide2 local-lvm:cloudinit
# 6. Configure serial console (required for some cloud images) and boot order
qm set 9000 --boot c --bootdisk scsi0 --serial0 socket --vga serial0
# 7. Convert it to a template
qm template 9000
Prepare the Ansible Control Node
sudo pip install ansible==13.6.0 proxmoxer requests --break-system-packages
debian_ansible_hands-free_installs.1778443577.txt.gz · Last modified: by mike
