Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 180694

Proxmox API Post Commands

$
0
0
Hello,

I've been working on a script to create LXC containers (ubuntu template) and then configure them using the API. While I got creation and start working, I'd like to be able to run a shell script on them. Because they do not have cloud init, I am unsure of the proper way to run commands on them.

If I open a terminal on the host node, I can run pct exec 130 -- bash -c 'touch test.txt'. This works fine. I've been using https://github.com/luthermonson/go-proxmox, and they...

Read more

Viewing all articles
Browse latest Browse all 180694

Trending Articles