tests/virtualbox: Put name in log descriptions.
Makes it easier to debug and find out for which machine a certain log socket has been started or stopped. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
29f535761a
commit
effe0309ee
@ -172,7 +172,7 @@ import ./make-test.nix ({ pkgs, ... }: with pkgs.lib; let
|
||||
in {
|
||||
machine = {
|
||||
systemd.sockets."vboxtestlog-${name}" = {
|
||||
description = "VirtualBox Test Machine Log Socket";
|
||||
description = "VirtualBox Test Machine Log Socket For ${name}";
|
||||
wantedBy = [ "sockets.target" ];
|
||||
before = [ "multi-user.target" ];
|
||||
socketConfig.ListenStream = "/run/virtualbox-log-${name}.sock";
|
||||
@ -180,7 +180,7 @@ import ./make-test.nix ({ pkgs, ... }: with pkgs.lib; let
|
||||
};
|
||||
|
||||
systemd.services."vboxtestlog-${name}@" = {
|
||||
description = "VirtualBox Test Machine Log";
|
||||
description = "VirtualBox Test Machine Log For ${name}";
|
||||
serviceConfig.StandardInput = "socket";
|
||||
serviceConfig.StandardOutput = "syslog";
|
||||
serviceConfig.SyslogIdentifier = "GUEST-${name}";
|
||||
|
Loading…
Reference in New Issue
Block a user