diff --git a/xCAT-server/lib/perl/xCAT/Postage.pm b/xCAT-server/lib/perl/xCAT/Postage.pm index 9564ccad4..9eed072d0 100644 --- a/xCAT-server/lib/perl/xCAT/Postage.pm +++ b/xCAT-server/lib/perl/xCAT/Postage.pm @@ -277,8 +277,8 @@ sub makescript # !!!!! it must be an unencrypted value for AIX!!!! # - user will have to reset if this is a security issue $os =~ s/\s*$//; - $os =~ tr/A-Z/a-z/; # Convert to lowercase - if ($os eq "aix") + #$os =~ tr/A-Z/a-z/; # Convert to lowercase + if ($os eq "aix" || $os eq "AIX") { my $passwdtab = xCAT::Table->new('passwd'); unless ($passwdtab) @@ -473,6 +473,7 @@ sub makescript elsif ($os =~ /ubuntu.*/) { $platform = "ubuntu"; } elsif ($os =~ /debian.*/) { $platform = "debian"; } elsif ($os =~ /aix.*/) { $platform = "aix"; } + elsif ($os =~ /AIX.*/) { $platform = "AIX"; } } if (($nodesetstate) && ($nodesetstate eq "netboot")) {