telcat / vagrant-proxmox

Use Vagrant to manage Proxmox virtual machines
MIT License
374 stars 113 forks source link

Create qemu vm from template #22

Closed lausser closed 8 years ago

lausser commented 9 years ago

Hi, just a question...i can create openvz containers from a template. But can i do the same with qemu vms? Gerhard

lausser commented 8 years ago

Hi guys, just to let you know...i started working on it I made a qemu machine, converted to template. For the Vagrantfile i introduced a proxmox_qemu_template Parameter. If this is used instead of proxmox_qemu_iso, a clone is made (In the Moment i work with a hardcoded template-vmid). The code is a mess, i need to clean it up and add the spec-part. But it looks good, i can even "vagrant ssh". It'll take at least the next two weeks until i have a proper pull-request. Cheers, Gerhard