lxc patch 10
This commit is contained in:
@@ -5,6 +5,14 @@
|
||||
lxcfs.enable = true;
|
||||
};
|
||||
|
||||
security.sudo.extraRules = [{
|
||||
groups = [ "labmates" ];
|
||||
commands = [
|
||||
{ command = "/run/current-system/sw/bin/lxc-attach"; options = [ "NOPASSWD" ]; }
|
||||
{ command = "/run/current-system/sw/bin/lxc-start"; options = [ "NOPASSWD" ]; }
|
||||
];
|
||||
}];
|
||||
|
||||
networking.networkmanager.unmanaged = [ "br0" ];
|
||||
|
||||
virtualisation.lxc.defaultConfig = ''
|
||||
|
||||
Reference in New Issue
Block a user