Update 2025-04-13_16:21:50

This commit is contained in:
root
2025-04-13 16:21:50 +02:00
commit 37e70e30e8
24 changed files with 985 additions and 0 deletions

11
updateContainer.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
# List all running Linux containers
containers=$(lxc-ls -f G RUNNING | awk '{print $1}')
# Upgrade the package manager (APT) inside each container
for container in $containers; do
echo $container
lxc-attach -n $container -- apt update
lxc-attach -n $container -- apt upgrade -y
done