diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2023-11-09 09:52:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 09:52:10 +0000 |
commit | da8c62363e754086b180ace39b62e1cb78898721 (patch) | |
tree | a912b46bb640de4d3b8eb4a6cb7fd59684bd0e57 /nixos/modules | |
parent | 43a394b99a03d5ce665c8f7c051491ad2d7479c5 (diff) | |
parent | c4086e5ce97e877be645812e614add3005455a4c (diff) | |
download | nixlib-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.nix | 11 |
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 = { |