Use of wrong operators in debian.pm caused "nodeset <node> install" to fail for

provisioning an Ubuntu node for x86.  Error was:

    # nodeset <node> install
    Error: Install image not found in /install/ubuntu10.04.2/x86
    Error: Some nodes failed to set up install resources, aborting


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10298 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ericagar 2011-08-16 22:27:05 +00:00
parent 82761e278a
commit 7f68ae2db4

View File

@ -476,9 +476,9 @@ sub mkinstall
$pkgdir="$installroot/$os/$arch";
}
if ($arch == "x86_64") {
if ($arch eq "x86_64") {
$darch = "amd64";
} elsif ($arch == "x86") {
} elsif ($arch eq "x86") {
$darch = "i386";
} else {
xCAT::MsgUtils->message("S","debian.pm: Unknown arch ($arch)");