|
|
@ -19,9 +19,8 @@ else |
|
|
|
if [[ $container_release != $remote_release ]];then |
|
|
|
echo "upgrade container <$container> from <$container_release> to <$remote_release>" |
|
|
|
/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" |
|
|
|
else |
|
|
|
echo "debian-bash version on container <$container> already up-to-date!" |
|
|
|
echo "container <$container> already up-to-date!" |
|
|
|
fi |
|
|
|
done |
|
|
|
fi |
|
|
|