Some useful scripts fpr Proxmox VE (PVE) LXC containers
Execute a command inside a running container.
Example
lxc-exec 1337 apt-get update
lxc-exec 1337 apt-get install vim -y
Execute a command inside all running containers using lxc-exec
.
Example
lxc-exec-all apt-get update
lxc-exec-all apt-get install vim -y
Update software on all running containers using lxc-exec
.
- apt-get
- yum