Commit e718002d authored by David Johnson's avatar David Johnson

Make sure PLC doesn't touch node disk state if a node that's supposed to

be in elab mode somehow boots from the PLC by accident...
parent 83e7538d
......@@ -179,6 +179,12 @@ foreach my $n (keys(%einfo)) {
next;
}
}
# make sure that node doesn't get touched by PLC if it mistakenly boots
# from there, somehow
if (system("$PLABFED $PLC manage node $n setstate dbg")) {
print STDERR "plabfed failed to set node '$n' boot state to dbg!\n";
next;
}
}
elsif ($mode eq 'plab') {
my ($pid,$eid);
......
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