12 lines
164 B
Plaintext
12 lines
164 B
Plaintext
|
#!/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"
|
||
|
eval "$1"
|
||
|
done
|