# remove some interesting breakages in pam for unpriv foo
sed -i -e 's#^\(session.*required.*pam_loginuid.so\)#\#\1#;' ${LXC_ROOTFS}/etc/pam.d/*
+# set the hostname
+echo $LXC_NAME > ${LXC_ROOTFS}/etc/hostname
+
# setup sources.list
cat <<EOF > ${LXC_ROOTFS}/etc/apt/sources.list
deb $DEBIAN_MIRROR $DEBIAN_RELEASE main