|
@ -62,10 +62,7 @@ function install_containers { |
|
|
if [[ -f '/snap/bin/lxc' ]]; then |
|
|
if [[ -f '/snap/bin/lxc' ]]; then |
|
|
for container in `/snap/bin/lxc list -c n --format csv`; do |
|
|
for container in `/snap/bin/lxc list -c n --format csv`; do |
|
|
install_one_container $container |
|
|
install_one_container $container |
|
|
# 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 --host" |
|
|
|
|
|
# echo |
|
|
|
|
|
|
|
|
echo |
|
|
done |
|
|
done |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|