From 1d4331d145ca17e8a690b960180e836304ace0ee Mon Sep 17 00:00:00 2001 From: Leigh B Stoller Date: Tue, 17 Nov 2015 10:36:49 -0700 Subject: [PATCH] Remove obsolete parents, and change so that we can clear out old parents, assign was hitting a buffer overflow cause of too many parents. --- utils/runsonxen.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/utils/runsonxen.in b/utils/runsonxen.in index 7ab88556f..2e99fe1e0 100755 --- a/utils/runsonxen.in +++ b/utils/runsonxen.in @@ -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); -- GitLab