From 52ca390d2feaf98a9e11ee7fea0ed70aa36a2287 Mon Sep 17 00:00:00 2001
From: Brett Parker <iDunno@sommitrealweird.co.uk>
Date: Sat, 21 May 2016 23:12:20 +0100
Subject: [PATCH 1/1] Automatically upgrade without prompting

---
 templates/lxc-debian-unprivileged | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.39.5