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