From: Brett Parker Date: Sat, 21 May 2016 22:12:20 +0000 (+0100) Subject: Automatically upgrade without prompting X-Git-Url: https://git.sommitrealweird.co.uk/lxc-debian-unprivileged.git/commitdiff_plain/52ca390d2feaf98a9e11ee7fea0ed70aa36a2287 Automatically upgrade without prompting --- diff --git a/templates/lxc-debian-unprivileged b/templates/lxc-debian-unprivileged index d18a27e..5c5f085 100755 --- a/templates/lxc-debian-unprivileged +++ b/templates/lxc-debian-unprivileged @@ -216,7 +216,7 @@ EOF # and update to the latest security chroot ${LXC_ROOTFS} apt-get update -chroot ${LXC_ROOTFS} apt-get upgrade +chroot ${LXC_ROOTFS} apt-get -y upgrade # if we're all good here, unmount things and clean up [ -e ${LXC_ROOTFS}/usr/sbin/policy-rc.d ] && rm ${LXC_ROOTFS}/usr/sbin/policy-rc.d