lxc patch
This commit is contained in:
@@ -5,6 +5,14 @@
|
|||||||
lxcfs.enable = true;
|
lxcfs.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualisation.lxc.defaultConfig = ''
|
||||||
|
lxc.net.0.type = veth
|
||||||
|
lxc.net.0.link = br0
|
||||||
|
lxc.net.0.flags = up
|
||||||
|
lxc.apparmor.profile = unconfined
|
||||||
|
lxc.cgroup.relative = 1
|
||||||
|
'';
|
||||||
|
|
||||||
networking.bridges.br0.interfaces = [];
|
networking.bridges.br0.interfaces = [];
|
||||||
networking.interfaces.br0.ipv4.addresses = [{
|
networking.interfaces.br0.ipv4.addresses = [{
|
||||||
address = "10.100.0.1";
|
address = "10.100.0.1";
|
||||||
|
|||||||
Reference in New Issue
Block a user