Hello everybody,
I connect to some LXC Container with pct enter ID. After this I have a script like this here:
#!/usr/bin/env bash
export SOME_ENV_PATH="path/to/file.env"
read -p "Please give your name:" Name
If i comment out the line, the script is working fine export...
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 |...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.