Commit 1c428380 authored by Leigh Stoller's avatar Leigh Stoller

Add XEN44-64-BIGFS as another parent.

parent c478ae4f
......@@ -1064,6 +1064,14 @@ class Image
" osid='$imageid', parent_osid='$parentosid'");
DBQueryFatal("replace into osidtoimageid set ".
" osid='$imageid', type='pcvm', imageid='$imageid'");
$parentosinfo = OSinfo::LookupByName("emulab-ops",
"XEN44-64-BIGFS");
if ($parentosinfo) {
$parentosid = $parentosinfo->osid();
DBQueryFatal("replace into os_submap set ".
" osid='$imageid', parent_osid='$parentosid'");
}
}
else {
DBQueryFatal("delete from osidtoimageid ".
......
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