|
|
@ -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" |
|
|
|