Browse Source

install

master
pvincent 5 years ago
parent
commit
5984c6ff50
  1. 2
      install.sh

2
install.sh

@ -38,7 +38,7 @@ else
# install inside active LXC containers # install inside active LXC containers
if [[ -f '/snap/bin/lxc' ]]; then 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" echo "pushed to $container"
/snap/bin/lxc file push /opt/debian-bash "${container}/opt/" -r /snap/bin/lxc file push /opt/debian-bash "${container}/opt/" -r
/snap/bin/lxc exec "$container" -- sh -c "cd /opt/debian-bash && ./install.sh" /snap/bin/lxc exec "$container" -- sh -c "cd /opt/debian-bash && ./install.sh"

Loading…
Cancel
Save