Provisioning Task: VM Provisioning (Proxmox + Cloud-Init)¶
Goal¶
Deploy a virtual machine using a prebuilt Proxmox template with Cloud-Init for automated configuration.
Steps¶
-
Clone from template
qm clone 9000 105 --name new-vm --full
-
Configure Cloud-Init
qm set 105 --ciuser username --cipassword 'changeme' --ipconfig0 ip=dhcp qm set 105 --sshkey ~/.ssh/id_rsa.pub
-
Resize disk (optional)
qm resize 105 scsi0 +20G
-
Start the VM
qm start 105
-
Login and verify
ssh username@<vm-ip>
Output¶
A ready-to-configure VM with user, SSH, and network settings applied via Cloud-Init.