Commit 1d4331d1 authored by Leigh B Stoller's avatar Leigh B Stoller

Remove obsolete parents, and change so that we can clear out

old parents, assign was hitting a buffer overflow cause of too
many parents.
parent d7a3b274
......@@ -33,8 +33,7 @@ my $PROTOGENI_GENIRACK = @PROTOGENI_GENIRACK@;
#
# Mark an image as running on XEN.
#
my @OTHER_PARENTS = ("XEN44-64-BIGFS", "XEN41-64-STD", "XEN43-64-STD",
"XEN44-64-THIN", "XEN44-64-STD");
my @OTHER_PARENTS = ("XEN44-64-BIGFS", "XEN44-64-THIN", "XEN44-64-STD");
if ($PROTOGENI_GENIRACK) {
push(@OTHER_PARENTS, "XEN44-64-GENIRACK");
}
......@@ -144,8 +143,6 @@ if ($clear) {
"where osid='$imageid' and type='pcvm'");
DBQueryFatal("delete from os_submap ".
"where osid='$imageid'");
DBQueryFatal("update os_info set def_parentosid=NULL ".
"where osid='$imageid'");
}
}
exit(0);
......
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