Commit 9f49096b authored by Mike Hibler's avatar Mike Hibler

Make bootinfo work again on an elabinelab with inner control net.

I appear to have broken it while doing moonshot support...
parent fe7aaa44
* Copyright (c) 2000-2014 University of Utah and the Flux Group.
* Copyright (c) 2000-2015 University of Utah and the Flux Group.
......@@ -70,7 +70,8 @@ findnode_bootinfo_db(struct in_addr ipaddr, int *events)
" n.node_id=na.node_id and na.attrkey='boot_method' "
"left join node_type_attributes as nt on "
" n.type=nt.type and nt.attrkey='boot_method' "
"where i.IP='%s' and i.role='ctrl'",
"where i.IP='%s' and "
" (i.role='ctrl' or i.role='outer_ctrl')",
3, inet_ntoa(ipaddr));
if (!res) {
error("Query failed for host %s\n", inet_ntoa(ipaddr));
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