All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit c9c70961 authored by Jonathon Duerig's avatar Jonathon Duerig

Add IP address to ILO interfaces when generating newscript config files.

parent ea50699e
......@@ -135,6 +135,10 @@ foreach my $current (@wires) {
print IF_FILE " <attribute name='mac'><value>$mac</value></attribute>\n";
print IF_FILE " <attribute name='type'><value>$type</value></attribute>\n";
print IF_FILE " <attribute name='role'><value>$role</value></attribute>\n";
if ($role eq "mngmnt" && exists($ilo_ips{$node_id})) {
my $IP = $ilo_ips{$node_id};
print IF_FILE " <attribute name='IP'><value>$IP</value></attribute>\n";
print IF_FILE "</newinterface>\n";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment