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
Read more
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