Commit f981a25d authored by Leigh B Stoller's avatar Leigh B Stoller

Mark nucs as "reservable"

parent 854cfae2
......@@ -317,6 +317,15 @@ sub Install($$$)
mkdir "$PREFIX/log/tiplogs", 0755 or
PhaseFail("Unable to create tiplogs: $!");
};
# The nucs are reservable.
Phase "reserve", "Marking nucs reservable", sub {
DBQueryWarn("update nodes set reservable=1 ".
"where node_id='nuc1'") or
PhaseFail("marking nuc1");
DBQueryWarn("update nodes set reservable=1 ".
"where node_id='nuc2'") or
PhaseFail("marking nuc1");
};
#
# Fix NAT rule for ops jail.
......
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