From 3e52539d69f8f093d0aa2a2b76d46c470821ab58 Mon Sep 17 00:00:00 2001 From: Benoit S Date: Sat, 6 Feb 2021 15:11:52 +0900 Subject: [PATCH] Add reboot of the container after upgrade --- files/lxd-containers-upgrade.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/lxd-containers-upgrade.sh b/files/lxd-containers-upgrade.sh index deef739..1ede627 100644 --- a/files/lxd-containers-upgrade.sh +++ b/files/lxd-containers-upgrade.sh @@ -13,4 +13,5 @@ for i in $(lxc list --format csv -c n); do lxc exec "$i" -- sudo -u benpro yay -Sc --noconfirm lxc exec "$i" -- sudo -u benpro yay -Syu --noconfirm fi + lxc exec "$i" -- reboot done