Unverified Commit da8c6236 authored by Thiago Kenji Okada's avatar Thiago Kenji Okada Committed by GitHub
Browse files

Merge pull request #266310 from Atry/patch-4

azure-agent: add dependencies for its extensions
parents 43a394b9 c4086e5c
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -241,7 +241,16 @@ in
      after = [ "network-online.target" "sshd.service" ];
      wants = [ "network-online.target" ];

      path = [ pkgs.e2fsprogs pkgs.bash ];
      path = [
        pkgs.e2fsprogs
        pkgs.bash

        # waagent's Microsoft.OSTCExtensions.VMAccessForLinux needs Python 3
        pkgs.python3

        # waagent's Microsoft.CPlat.Core.RunCommandLinux needs lsof
        pkgs.lsof
      ];
      description = "Windows Azure Agent Service";
      unitConfig.ConditionPathExists = "/etc/waagent.conf";
      serviceConfig = {