Add reboot of the container after upgrade
This commit is contained in:
parent
cfa7e66a1f
commit
3e52539d69
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue