diff options
author | Florian Klink <flokli@flokli.de> | 2020-05-21 10:34:11 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2020-05-21 10:34:11 +0200 |
commit | 45c03c0dd27e0c9cb42a6e235492d3aef993fcee (patch) | |
tree | b2672ad06f8dd27c82cd31be66999cb4f6dfd710 /nixos/modules/virtualisation | |
parent | ad26d7c0449438e76248c6b8cc519b2738af8781 (diff) | |
download | nixpkgs-45c03c0dd27e0c9cb42a6e235492d3aef993fcee.tar nixpkgs-45c03c0dd27e0c9cb42a6e235492d3aef993fcee.tar.gz nixpkgs-45c03c0dd27e0c9cb42a6e235492d3aef993fcee.tar.bz2 nixpkgs-45c03c0dd27e0c9cb42a6e235492d3aef993fcee.tar.lz nixpkgs-45c03c0dd27e0c9cb42a6e235492d3aef993fcee.tar.xz nixpkgs-45c03c0dd27e0c9cb42a6e235492d3aef993fcee.tar.zst nixpkgs-45c03c0dd27e0c9cb42a6e235492d3aef993fcee.zip |
nixos/azure-agent: always run systemctl of the currently running systemd
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/azure-agent.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/azure-agent.nix b/nixos/modules/virtualisation/azure-agent.nix index 036b1036f92..e85482af839 100644 --- a/nixos/modules/virtualisation/azure-agent.nix +++ b/nixos/modules/virtualisation/azure-agent.nix @@ -48,7 +48,7 @@ let provisionedHook = pkgs.writeScript "provisioned-hook" '' #!${pkgs.runtimeShell} - ${config.systemd.package}/bin/systemctl start provisioned.target + /run/current-system/systemd/bin/systemctl start provisioned.target ''; in |