From 93d38eb89c0b281584fc66dc8bf9e7a1868e903b Mon Sep 17 00:00:00 2001
From: Brett Parker <iDunno@sommitrealweird.co.uk>
Date: Tue, 27 Jul 2021 15:40:28 +0100
Subject: [PATCH] Quick fixups to unpriv'd debian template for newer lxc

---
 templates/lxc-debian-unprivileged | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/templates/lxc-debian-unprivileged b/templates/lxc-debian-unprivileged
index 87559bd..9cbd7c0 100755
--- a/templates/lxc-debian-unprivileged
+++ b/templates/lxc-debian-unprivileged
@@ -96,7 +96,7 @@ fi
 
 eval set -- "$options"
 
-DEBIAN_MIRROR_DEFAULT="http://mirror.mythic-beasts.com/debian/"
+DEBIAN_MIRROR_DEFAULT="http://mirror.sommitrealweird.co.uk/debian/"
 DEBIAN_MIRROR=$DEBIAN_MIRROR_DEFAULT
 DEBIAN_RELEASE="jessie"
 NETWORK_CONFIG=""
@@ -278,8 +278,8 @@ cat <<EOF >> "${LXC_PATH}/config"
 lxc.include = /usr/share/lxc/config/debian.common.conf
 lxc.include = /usr/share/lxc/config/debian.userns.conf
 
-# Set our hostname
-lxc.utsname = $LXC_NAME
+# Set hostname
+lxc.uts.name = $LXC_NAME
 
 # Automatic configuration
 EOF
-- 
2.39.5