]> git.sommitrealweird.co.uk Git - lxc-debian-unprivileged.git/commitdiff
Quick fixups to unpriv'd debian template for newer lxc master
authorBrett Parker <iDunno@sommitrealweird.co.uk>
Tue, 27 Jul 2021 14:40:28 +0000 (15:40 +0100)
committerBrett Parker <iDunno@sommitrealweird.co.uk>
Tue, 27 Jul 2021 14:40:28 +0000 (15:40 +0100)
templates/lxc-debian-unprivileged

index 87559bd416b604dc5c70c888fbf4cd98ecad11d8..9cbd7c0e622347cb1f3ec6cb96738b8a242115c2 100755 (executable)
@@ -96,7 +96,7 @@ fi
 
 eval set -- "$options"
 
 
 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=""
 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
 
 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
 
 # Automatic configuration
 EOF