Commit 6da72155 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor tweaks for removing nodes from an elabinelab.

parent 02239074
......@@ -1144,6 +1144,7 @@ sub RemoveNodes()
my $wap = "$tbdir/sbin/withadminprivs";
my $nodereboot = "$tbdir/bin/node_reboot";
my $deletenode = "$tbdir/sbin/deletenode";
my $creator = $experiment->creator();
my @nodes = ();
my $paniced = 0;
......@@ -1315,7 +1316,7 @@ sub RemoveNodes()
" Outer boss will use power cycle.\n";
}
print "Asking inner boss ($bossnode) to delete $node\n";
system("$SSH -host $bossnode sudo -u elabman ".
system("$SSH -host $bossnode sudo -u $creator ".
" $wap $deletenode -b -q -f $node");
if ($?) {
#
......
Supports Markdown
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