pct exec

  1. Gaia

    Escape Double Quotes Inside pct exec "cmd"

    inside the container $ bash /home/ubuntu/scripts/logsigmonitor.sh 1 | while read LOGLINE; do echo "${LOGLINE}"; done continuously outputs the desired (filtered) log messages to the terminal. but on the host /usr/sbin/pct exec 107 -- bash -c "bash /home/ubuntu/scripts/logsigmonitor.sh 1 |...
  2. pct exec and daemonizing

    I wish to launch a script on a collection of containers. pct exec seems to do what I want. Except I want to background my script and have the pct exec finish immediately. I tried just adding an & (ampersand) but when the pct exec finishes, it terminates the backgrounded script. I have now tried...
  3. Startup/ Init Script / Bootstrap provisioning on lxc

    Hi All, I feel like I'm missing something blatantly obvious, but I can't seem to find it. I would like to automate the process of creating a Centos LXC, boostrapping it, then running the provisioning. The hang up is the Centos 7 LXC doesn't have openssh-server installed by default. Which I...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!