mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
nixos-container: Add ‘run’ and ‘root-login’ commands
And remove ‘root-shell’.
This commit is contained in:
parent
da4f180252
commit
ac8c924c09
3 changed files with 54 additions and 15 deletions
|
@ -256,7 +256,7 @@ in
|
|||
. "/etc/containers/$INSTANCE.conf"
|
||||
fi
|
||||
echo $SYSTEM_PATH/bin/switch-to-configuration test | \
|
||||
${pkgs.socat}/bin/socat unix:$root/var/lib/root-shell.socket -
|
||||
${pkgs.socat}/bin/socat unix:$root/var/lib/run-command.socket -
|
||||
'';
|
||||
|
||||
serviceConfig.SyslogIdentifier = "container %i";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue