wip: convert ekman to new cluster sturcture (not complete)
This commit is contained in:
12
ekman/c1/nodes.nix
Normal file
12
ekman/c1/nodes.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
with builtins;
|
||||
let nodes = genList (n: n + 1) 8; in
|
||||
map (n: (
|
||||
rec {
|
||||
idx = 120 + n;
|
||||
name = "c1-${toString n}";
|
||||
target = "10.255.241.${toString (idx + 100)}";
|
||||
address = "10.255.241.${toString idx}";
|
||||
ipoib = "10.255.243.${toString idx}";
|
||||
gbe100 = "10.255.244.${toString idx}";
|
||||
pubkey = ./. + "/ssh_host_key.d/c1-${toString n}.pub";
|
||||
})) nodes
|
||||
Reference in New Issue
Block a user