-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how i can creeate VM with api ? #73
Comments
Simple.. newID must be a free one. |
whene i try to run this code i have proble
Traceback (most recent call last):File "create.py", line 2, in |
how i can create a ProxmoxAPI
Le mer. 17 avr. 2019 à 12:08, elschman <[email protected]> a écrit :
… Simple..
first install the proxmoxer
seconf follow the guideline to open a session
open https://pve.proxmox.com/pve-docs/api-viewer/index.html to get
knowledge about the api apth.
I guess nodes /api2/json/nodes/{node}/qemu is the one your looking for
create the api call out of this
proxmox.nodes([TARGETnode]).qemu.push(vmid=[newID])
newID must be a free one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#73 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AYf8N6IWvdXeXGLTvAebtoH_jaoP_e_sks5vhvK3gaJpZM4c0hNw>
.
|
It looks like you forgot to mention the node you want to use to manage the proxmox. proxmox = ProxmoxAPI('https://[PROXMOXNODE]/', user='',password='***', verify_ssl=False) |
ip addresse ?
|
See the main page at
|
how i can create VM with proxmoxer ?
Le mer. 17 avr. 2019 à 15:50, elschman <[email protected]> a écrit :
… See the main page at
Short usage information
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#73 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AYf8N_FKRkpP93nZ-ZrcO5lzM6MQeXlCks5vhyaUgaJpZM4c0hNw>
.
|
No description provided.
The text was updated successfully, but these errors were encountered: