Commit 76b614be authored by Graham Christensen's avatar Graham Christensen
Browse files

amazon-init: include the general system's software and wrappers in PATH

It is surprising that software which was installed by the user at AMI
generation time isn't available to a script run over user data by
default.

When authoring user data to execute at startup, users will now have
more predictable access to baked-in software instead of an extremely
bare-minimum set currently there.
parent 67c8a598
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -75,6 +75,11 @@ in {
      after = [ "multi-user.target" ];
      requires = [ "network-online.target" ];

      path = [
        "/run/wrappers"
        "/run/current-system/sw"
      ];

      restartIfChanged = false;
      unitConfig.X-StopOnRemoval = false;