Have nodeset return a more helpful message when passwd table is missing an entry for esxi when doing esxi operations

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-05-31 17:39:47 +00:00
parent 446d5225d6
commit 41c11b4ac5

View File

@ -4284,6 +4284,7 @@ sub makecustomizedmod {
}
}
unless ($password) {
xCAT::SvrUtils::sendmsg([1,": Unable to find a password entry for esxi in passwd table"], $output_handler);
return 0;
}
mkpath("/tmp/xcat");