diff --git a/install.sh b/install.sh index 55c9d2e..1afa413 100755 --- a/install.sh +++ b/install.sh @@ -38,7 +38,7 @@ else # install inside active LXC containers if [[ -f '/snap/bin/lxc' ]]; then - for container in `lxc list -c n --format csv`; do + for container in `/snap/bin/lxc list -c n --format csv`; do echo "pushed to $container" /snap/bin/lxc file push /opt/debian-bash "${container}/opt/" -r /snap/bin/lxc exec "$container" -- sh -c "cd /opt/debian-bash && ./install.sh"