swayf / proxmoxer

python wrapper for Proxmox API v2 (https://pve.proxmox.com/pve-docs/api-viewer/index.html)
MIT License
156 stars 58 forks source link

creation problm #76

Open hocineKHE opened 5 years ago

hocineKHE commented 5 years ago

print(proxmox.create('/nodes/pve/qemu -name oti -vmid 111 -scsi0 local-lvm:16 -memory 2048 -cpu host -socket 2 -cores 2 -net0 virtio,bridge=vmbr0 -cdrom backup:iso/mini.iso'))

when i try to create a VM with this code i get a message :

<proxmoxer.core.ProxmoxResource object at 0x000001B6BEF75FD0>