API: force flag

morph027

Renowned Member
Mar 22, 2013
450
63
93
Leipzig
morph027.gitlab.io
Hi all (or in this case, Hi PVE devs *g*)!

Right now i'm trying to debug a new ansible module which is able to handle KVM via API (leveraging proxmoxer).

It works pretty good from the start, but i found a small glitch which i'm trying to debug (if we need to take care of in the module or in proxmoxer).

If you follow my comments, i can explain my confusion ;)

Does the force flag only apply creation of vms by restoring them from a backup archive? At least, this is what i guess from the qm create ... output. Does the force flag even apply to any other task? I guess not, at least i can't remind of creating a new VM from scratch and replace an existing one.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!