-Add RHEL-6 alpha support for stateful deployment

-Fix bug in recent Table.pm enhancements


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4686 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-11-28 13:45:52 +00:00
parent 3ef7062195
commit 909517a2c5
2 changed files with 8 additions and 1 deletions

View File

@ -1601,7 +1601,7 @@ sub setNodesAttribs {
foreach my $col (@orderedcols) { #try aggregating requests. Could also see about single prepare, multiple executes instead
$upstring .= "$col = ?, ";
}
$upstring =~ s/, / where $nodekey = ?/;
$upstring =~ s/, $/ where $nodekey = ?/;
$upsth = $self->{dbh}->prepare($upstring);
}
if (scalar keys %updatenodes) {

View File

@ -878,6 +878,13 @@ sub copycd
$distname = "rhels5";
}
}
elsif ($desc =~ /^Red Hat Enterprise Linux 6\.0$/)
{
unless ($distname)
{
$distname = "rhel6";
}
}
unless ($distname)
{