Commit dd3bcf37 authored by Robert Ricci's avatar Robert Ricci
Browse files

When implicitliny adding a host node, put the correct desire on it.

parent ddb66ecf
......@@ -168,6 +168,7 @@ Node instproc updatedb {DB} {
#
if {$issubnode && $fixed == ""} {
$sim spitxml_data "virt_nodes" [list "vname" "type" "ips" "osname" "cmd_line" "rpms" "deltas" "startupcmd" "tarfiles" "fixed" ] [list "host-$self" "pc" "" "" "" "" "" "" "" $self ]
$sim spitxml_data "virt_node_desires" [list "vname" "desire" "weight"] [list "host-$self" "hosts-$type" 1.0]
set fixed "host-$self"
}
......
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