Unverified Commit 7547a1f5 authored by Graham Christensen's avatar Graham Christensen Committed by GitHub
Browse files

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.
parent 5a7a587a
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -37,7 +37,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";