Browse Source

fix containers

master 0.7.2
pvincent 4 years ago
parent
commit
a1be084d66
  1. 4
      install.sh

4
install.sh

@ -32,7 +32,9 @@ function install_host {
else
#remove /etc/skel/.bashrc
if [ -e /etc/skel/.bashrc ]; then
rm /etc/skel/.bashrc
fi
ORIGINAL="ORIGINAL"
declare -a arr=(/etc/bash.bashrc /etc/inputrc /etc/vim/vimrc)
@ -61,7 +63,7 @@ function install_containers {
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"
/snap/bin/lxc exec "$container" -- sh -c "cd /opt/debian-bash && ./install.sh --host"
done
fi

Loading…
Cancel
Save