]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
lxc-configs: add networking
authorluka177 <lukapanio@gmail.com>
Fri, 30 Apr 2021 15:41:51 +0000 (18:41 +0300)
committerluka177 <lukapanio@gmail.com>
Fri, 30 Apr 2021 15:41:51 +0000 (18:41 +0300)
lxc-configs/config

index 6ed6a45bbcb2732473310eb1f9018409bfab1410..ce4d72c76ac23a0cb74c89e6727a45f2ca48f2c6 100644 (file)
@@ -10,6 +10,13 @@ lxc.init_cmd = /init
 
 lxc.mount.auto = cgroup:ro sys:ro proc
 
 
 lxc.mount.auto = cgroup:ro sys:ro proc
 
+lxc.network.type = veth
+lxc.network.flags = up
+lxc.network.link = lxcbr0
+lxc.network.name = eth0
+lxc.network.hwaddr = 00:16:3e:f9:d3:03
+lxc.network.mtu = 1500
+
 lxc.mount.entry = tmpfs dev tmpfs nosuid 0 0
 lxc.mount.entry = /dev/zero dev/zero none bind,create=file,optional 0 0
 #lxc.mount.entry = /dev/random dev/random none bind,create=file,optional 0 0
 lxc.mount.entry = tmpfs dev tmpfs nosuid 0 0
 lxc.mount.entry = /dev/zero dev/zero none bind,create=file,optional 0 0
 #lxc.mount.entry = /dev/random dev/random none bind,create=file,optional 0 0