[GH-ISSUE #192] how to use parameters with a dash #106

Closed
opened 2026-02-27 15:46:28 +03:00 by kerem · 2 comments
Owner

Originally created by @daymickcorr on GitHub (Dec 10, 2024).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/192

how are we supposed to use parameters with a dash ?

like cmd-opts
https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/termproxy
or input-data
https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/qemu/{vmid}/agent/exec

Originally created by @daymickcorr on GitHub (Dec 10, 2024). Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/192 how are we supposed to use parameters with a dash ? like cmd-opts https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/termproxy or input-data https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/qemu/{vmid}/agent/exec
kerem closed this issue 2026-02-27 15:46:28 +03:00
Author
Owner

@morph027 commented on GitHub (Dec 10, 2024):

See https://github.com/proxmoxer/proxmoxer/issues/159#issuecomment-1981198470

<!-- gh-comment-id:2531865729 --> @morph027 commented on GitHub (Dec 10, 2024): See https://github.com/proxmoxer/proxmoxer/issues/159#issuecomment-1981198470
Author
Owner

@daymickcorr commented on GitHub (Dec 10, 2024):

ct_info = {"vmid": ctid, ... , "ssh-public-keys": ENCODED_KEYS}
lxc_ct = proxmox.nodes(PROXMOX_NODE_NAME).lxc.create(**ct_info)

<!-- gh-comment-id:2532115561 --> @daymickcorr commented on GitHub (Dec 10, 2024): ct_info = {"vmid": ctid, ... , "ssh-public-keys": ENCODED_KEYS} lxc_ct = proxmox.nodes(PROXMOX_NODE_NAME).lxc.create(**ct_info)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmoxer#106
No description provided.