Skip to content

Commit 967216a

Browse files
committed
Set microvm hostname as process name in runner
1 parent 186b8bf commit 967216a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runner.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ let
2626
${createVolumesScript pkgs.buildPackages microvmConfig.volumes}
2727
${lib.optionalString (hypervisorConfig.requiresMacvtapAsFds or false) openMacvtapFds}
2828
29-
exec ${command}
29+
exec -a "microvm-${microvmConfig.hostName}" ${command}
3030
'';
3131

3232
shutdownScriptBin = pkgs.buildPackages.writeScriptBin "microvm-shutdown" ''

0 commit comments

Comments
 (0)