lxc patch 8

This commit is contained in:
2026-04-11 10:36:14 -04:00
parent 4c6022202b
commit e4b42c5484
+2 -1
View File
@@ -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 = ''