12 lines
170 B
Bash
Executable File
12 lines
170 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for n in `lxc-ls`; do
|
|
name=n
|
|
r=/data/containers/$n/rootfs
|
|
root=$r
|
|
c=/data/containers/$n/config
|
|
config=$c
|
|
eval echo "\$ $1" 1>&2
|
|
eval "$1"
|
|
done
|