1{ lib, ... }:
2
3with lib;
4warn
5 ''
6 `virtualisation.azure.agent` provided by `azure-agent.nix` module has been replaced
7 by `services.waagent` options, and will be removed in a future release.
8 ''
9 {
10
11 imports = [
12 (mkRenamedOptionModule
13 [
14 "virtualisation"
15 "azure"
16 "agent"
17 "enable"
18 ]
19 [
20 "services"
21 "waagent"
22 "enable"
23 ]
24 )
25 (mkRenamedOptionModule
26 [
27 "virtualisation"
28 "azure"
29 "agent"
30 "verboseLogging"
31 ]
32 [
33 "services"
34 "waagent"
35 "settings"
36 "Logs"
37 "Verbose"
38 ]
39 )
40 (mkRenamedOptionModule
41 [
42 "virtualisation"
43 "azure"
44 "agent"
45 "mountResourceDisk"
46 ]
47 [
48 "services"
49 "waagent"
50 "settings"
51 "ResourceDisk"
52 "Format"
53 ]
54 )
55 ];
56 }