forked from DGNum/infrastructure
feat(netbox-agent): init
This commit is contained in:
parent
733c9c74a7
commit
747d8c08cb
7 changed files with 165 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
deployment.tags = [ "web" ];
|
||||
|
||||
stateVersion = "23.05";
|
||||
vm-cluster = "Hyperviseur NPS";
|
||||
};
|
||||
|
||||
compute01 = {
|
||||
|
@ -67,11 +68,13 @@
|
|||
|
||||
stateVersion = "24.05";
|
||||
nixpkgs = "unstable";
|
||||
vm-cluster = "Hyperviseur NPS";
|
||||
};
|
||||
|
||||
rescue01 = {
|
||||
site = "luj01";
|
||||
|
||||
stateVersion = "23.11";
|
||||
vm-cluster = "Hyperviseur Luj";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -117,6 +117,12 @@ in
|
|||
Geographical site where the node is located.
|
||||
'';
|
||||
};
|
||||
|
||||
vm-cluster = mkOption {
|
||||
type = nullOr str;
|
||||
default = null;
|
||||
description = "VM cluster where the VM is located";
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue