Browse Source

push container should be enough

master
pvincent 4 years ago
parent
commit
4ac77c5e6c
  1. 3
      tools/debian_bash_upgrade

3
tools/debian_bash_upgrade

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

Loading…
Cancel
Save