From 46b65dcafddcecd262d7ef9afef81cfa95aa2d11 Mon Sep 17 00:00:00 2001 From: Clement Parisot <clement.parisot@inria.fr> Date: Tue, 19 Apr 2016 10:23:44 +0200 Subject: [PATCH] [nancy] graphique - Edit dhcp MAC address --- .../clusters/graphique/graphique_ip.yaml.erb | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 dev/input/grid5000/sites/nancy/clusters/graphique/graphique_ip.yaml.erb diff --git a/dev/input/grid5000/sites/nancy/clusters/graphique/graphique_ip.yaml.erb b/dev/input/grid5000/sites/nancy/clusters/graphique/graphique_ip.yaml.erb new file mode 100644 index 00000000000..a985ff7592e --- /dev/null +++ b/dev/input/grid5000/sites/nancy/clusters/graphique/graphique_ip.yaml.erb @@ -0,0 +1,29 @@ +nodes: +<% (1..6).each { |i| %> + graphique-<%= i %>: + network_adapters: + eth0: + mounted: true + ip: 172.16.67.<%= i %> + mac: <%= %w( + b0:83:fe:e5:c0:54 + 44:a8:42:07:6a:c8 + 44:a8:42:0a:33:3d + 44:a8:42:0a:8d:0d + 44:a8:42:0a:4b:9b + 44:a8:42:15:cd:e6 + )[i-1] %> + ib0: + ip: 172.18.67.<%= i %> + bmc: + ip: 172.17.67.<%= i %> + mac: <%= %w( + b0:83:fe:e4:69:d8 + 18:fb:7b:9b:91:55 + 18:fb:7b:9b:68:d3 + 18:fb:7b:9b:91:6d + 18:fb:7b:9b:91:d3 + 18:fb:7b:9b:af:d9 + )[i-1] %> + +<% } %> -- GitLab