blob: 5fdf8257f7a6c0bee51012e812d106ecc343ed36 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/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."
|