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