Add reboot of the container after upgrade

This commit is contained in:
Benoit S 2021-02-06 15:11:52 +09:00
parent cfa7e66a1f
commit 3e52539d69

View file

@ -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 -Sc --noconfirm
lxc exec "$i" -- sudo -u benpro yay -Syu --noconfirm lxc exec "$i" -- sudo -u benpro yay -Syu --noconfirm
fi fi
lxc exec "$i" -- reboot
done done