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