Commit 65f21238 authored by Leigh B Stoller's avatar Leigh B Stoller

Bug fix for setting the vhost OS on the geni path.

parent 5d16f46c
......@@ -1600,6 +1600,7 @@ sub LoadVirtNodes($)
}
my $osimage;
if (!defined($fixnode->_osinfo())) {
if (defined($vnode->_parent_osinfo())) {
$osimage = $vnode->_parent_osinfo();
}
......@@ -1613,6 +1614,10 @@ sub LoadVirtNodes($)
if (!defined($osimage));
$fixnode->_osinfo($osimage);
}
else {
$osimage = $fixnode->_osinfo();
}
# Convert from the name to the local object.
$vnode->_fixedvm($fixnode);
......
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