Script Proxmox VM creation.

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

_alex

Active Member
Jan 28, 2016
866
97
28
Bavaria / Germany
For sure, in the end the same will happen.
Assuming the API is stable and will act as a shim to possible changes on the underlying qm - commands i would rather use API via pvesh or http than qm create.
 

ideabox

Member
Dec 11, 2016
69
25
18
37
Looking to create the VM with PCIe passthrough and assign an I.P address to the VM.
Il look at the API now.

WHMCS has a plugin to do this as an example. What kind of scripting are you looking for? It's KVM virt.
First time ive seen WHMCS, Can it intergrate with Proxmox?
 

_alex

Active Member
Jan 28, 2016
866
97
28
Bavaria / Germany
Assigning an ip will not work, this would require smth lile cloud-init (what for some reason doesn't happen even if a lot of users ask for)
you maybe can assign a mac, and have a dhcp that will assign an ip to that mac as a workaround.