From 27b3ff0800ed9002631291f3e0790ed5a470be74 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Tue, 29 Dec 2020 14:19:50 +0100 Subject: 2020 update --- lxc/debian_setup | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 lxc/debian_setup (limited to 'lxc/debian_setup') diff --git a/lxc/debian_setup b/lxc/debian_setup new file mode 100755 index 0000000..6cfe699 --- /dev/null +++ b/lxc/debian_setup @@ -0,0 +1,9 @@ +#!/bin/bash +set -e + +virsh net-start default +virsh net-autostart default + +echo "kernel.unprivileged_userns_clone=1" > /etc/sysctl.d/80-lxc-userns.conf +echo "tom veth virbr0 2" > /etc/lxc/lxc-usernet +echo "you should reboot now." -- cgit v1.2.3