mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
amazon-ssm-agent: add the system's software to the path
Follow up to #342584.
Similarly to that PR, it is surprising that software which was installed by the user isn't available to a script run over ssm by default.
When executing commands with ssm, users will now have more predictable access to baked-in software instead of an extremely bare-minimum set currently there.
(cherry picked from commit 7547a1f5f8
)
This commit is contained in:
parent
01c9cdda2c
commit
e6fb8a4224
@ -45,7 +45,12 @@ in {
|
||||
after = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
path = [ fake-lsb-release pkgs.coreutils ];
|
||||
path = [
|
||||
fake-lsb-release
|
||||
pkgs.coreutils
|
||||
"/run/wrappers"
|
||||
"/run/current-system/sw"
|
||||
];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${cfg.package}/bin/amazon-ssm-agent";
|
||||
|
Loading…
Reference in New Issue
Block a user