X-Git-Url: https://git.sommitrealweird.co.uk/lxc-debian-unprivileged.git/blobdiff_plain/0b6c3fd3611a11798ccdbc2f2e39f38132bc67d4..52ca390d2feaf98a9e11ee7fea0ed70aa36a2287:/templates/lxc-debian-unprivileged diff --git a/templates/lxc-debian-unprivileged b/templates/lxc-debian-unprivileged index 30d4912..5c5f085 100755 --- a/templates/lxc-debian-unprivileged +++ b/templates/lxc-debian-unprivileged @@ -191,7 +191,7 @@ fi # setup sources.list cat < ${LXC_ROOTFS}/etc/apt/sources.list deb $DEBIAN_MIRROR $DEBIAN_RELEASE main -deb http://security.debian.org/ $DEBIAN_RELEASE/update main +deb http://security.debian.org/ $DEBIAN_RELEASE/updates main EOF # disable bits of systemd that we hates @@ -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