This commit is contained in:
2024-02-08 21:35:34 +01:00
parent d3bbc8380d
commit 8a4712a34f
3 changed files with 6 additions and 750 deletions

View File

@@ -9,6 +9,11 @@ function stop_container() {
echo -e $(date) "- ${BGreen}Container ${1} stopped${Color_Off}"
}
if [[ $1 == '' ]]; then
echo "use $0 container-name"
exit
fi
echo $(date) "- Start updating $1 LXC container..."
status=$(lxc info microk8s | grep Status | cut -d' ' -f 2)