mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
57 lines
997 B
Nix
57 lines
997 B
Nix
{ lib, ... }:
|
|
|
|
with lib;
|
|
warn
|
|
''
|
|
`virtualisation.azure.agent` provided by `azure-agent.nix` module has been replaced
|
|
by `services.waagent` options, and will be removed in a future release.
|
|
''
|
|
{
|
|
|
|
imports = [
|
|
(mkRenamedOptionModule
|
|
[
|
|
"virtualisation"
|
|
"azure"
|
|
"agent"
|
|
"enable"
|
|
]
|
|
[
|
|
"services"
|
|
"waagent"
|
|
"enable"
|
|
]
|
|
)
|
|
(mkRenamedOptionModule
|
|
[
|
|
"virtualisation"
|
|
"azure"
|
|
"agent"
|
|
"verboseLogging"
|
|
]
|
|
[
|
|
"services"
|
|
"waagent"
|
|
"settings"
|
|
"Logs"
|
|
"Verbose"
|
|
]
|
|
)
|
|
(mkRenamedOptionModule
|
|
[
|
|
"virtualisation"
|
|
"azure"
|
|
"agent"
|
|
"mountResourceDisk"
|
|
]
|
|
[
|
|
"services"
|
|
"waagent"
|
|
"settings"
|
|
"ResourceDisk"
|
|
"Format"
|
|
]
|
|
)
|
|
];
|
|
}
|