lxc patch 8
This commit is contained in:
+2
-1
@@ -51,7 +51,7 @@
|
|||||||
# labmates get dropped into their container
|
# labmates get dropped into their container
|
||||||
services.openssh.extraConfig = ''
|
services.openssh.extraConfig = ''
|
||||||
Match Group labmates
|
Match Group labmates
|
||||||
ForceCommand /usr/local/bin/lxc-login
|
ForceCommand /run/current-system/sw/bin/lxc-login
|
||||||
AllowTcpForwarding no
|
AllowTcpForwarding no
|
||||||
X11Forwarding no
|
X11Forwarding no
|
||||||
'';
|
'';
|
||||||
@@ -65,6 +65,7 @@
|
|||||||
gnupg
|
gnupg
|
||||||
debootstrap
|
debootstrap
|
||||||
bridge-utils
|
bridge-utils
|
||||||
|
(writeShellScriptBin "lxc-login" (builtins.readFile ../home/scripts/lxc/lxc-login.sh))
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.etc."lxc/default.conf".text = ''
|
environment.etc."lxc/default.conf".text = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user