|
|
@ -67,7 +67,7 @@ function install_containers { |
|
|
|
|
|
|
|
# install inside active LXC containers |
|
|
|
if [[ -f '/snap/bin/lxc' ]]; then |
|
|
|
for container in `lxc list --format=json | jq -r '.[] | select(.state.status == "Running") | .name'`; do |
|
|
|
for container in `/snap/bin/lxc list --format=json | /bin/jq -r '.[] | select(.state.status == "Running") | .name'`; do |
|
|
|
install_one_container $container |
|
|
|
echo |
|
|
|
done |
|
|
|