Automatically upgrade without prompting
[lxc-debian-unprivileged.git] / templates / lxc-debian-unprivileged
index d18a27e7ea66bde662a5bf66e921f8bf3adc7479..5c5f0855891a347b5ed842e599824cde531f2bb8 100755 (executable)
@@ -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