Commit 9747a6ed authored by Robert Ricci's avatar Robert Ricci
Browse files

Add OS features to widearea nodes too.

parent e0b9d8fe
......@@ -575,6 +575,14 @@ if ($widearea) {
push @features, @{$features{$physnode}};
}
#
# Add in features for all of the OSes that this node (as evidenced by
# its type) can support
#
if ($node_type_osids{$ptype}) {
push @features, map "OS-$_:0", @{$node_type_osids{$ptype}};
}
my $text = "node $physnode " .
join(" ",@types) . " - " . join(" ",@features) .
" - " . join(" ",@flags);
......
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