about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2023-11-09 09:52:10 +0000
committerGitHub <noreply@github.com>2023-11-09 09:52:10 +0000
commitda8c62363e754086b180ace39b62e1cb78898721 (patch)
treea912b46bb640de4d3b8eb4a6cb7fd59684bd0e57 /nixos/modules
parent43a394b99a03d5ce665c8f7c051491ad2d7479c5 (diff)
parentc4086e5ce97e877be645812e614add3005455a4c (diff)
downloadnixlib-da8c62363e754086b180ace39b62e1cb78898721.tar
nixlib-da8c62363e754086b180ace39b62e1cb78898721.tar.gz
nixlib-da8c62363e754086b180ace39b62e1cb78898721.tar.bz2
nixlib-da8c62363e754086b180ace39b62e1cb78898721.tar.lz
nixlib-da8c62363e754086b180ace39b62e1cb78898721.tar.xz
nixlib-da8c62363e754086b180ace39b62e1cb78898721.tar.zst
nixlib-da8c62363e754086b180ace39b62e1cb78898721.zip
Merge pull request #266310 from Atry/patch-4
azure-agent: add dependencies for its extensions
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/virtualisation/azure-agent.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/azure-agent.nix b/nixos/modules/virtualisation/azure-agent.nix
index 6e6021cf80fe..a88b78bc9821 100644
--- a/nixos/modules/virtualisation/azure-agent.nix
+++ b/nixos/modules/virtualisation/azure-agent.nix
@@ -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 = {