Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
1c428380
Commit
1c428380
authored
Nov 11, 2014
by
Leigh B Stoller
Browse files
Add XEN44-64-BIGFS as another parent.
parent
c478ae4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/imageid_defs.php
View file @
1c428380
...
...
@@ -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 "
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment