fix defect 3526288

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-05-17 17:19:13 +00:00
parent e8996a35dc
commit b1c3e1326a

View File

@ -1012,10 +1012,10 @@ sub setupxcatdb
my $mysql_prompt = 'mysql> ';
my $expect_log = undef;
my $debug = 0;
if ($::VERBOSE)
{
$debug = 1;
}
#if ($::VERBOSE)
#{
# $debug = 1;
#}
$mysql = new Expect;
my $createuser =
"CREATE USER xcatadmin IDENTIFIED BY \'$::adminpassword\';\r";
@ -1132,10 +1132,10 @@ sub setupLL
my $mysql_prompt = 'mysql> ';
my $expect_log = undef;
my $debug = 0;
if ($::VERBOSE)
{
$debug = 1;
}
#if ($::VERBOSE)
#{
# $debug = 1;
#}
$mysql = new Expect;
my $setLLfunction =
"SET GLOBAL log_bin_trust_function_creators=1;\r";
@ -1241,10 +1241,10 @@ sub addhosts
{
my @hosts;
my $debug = 0;
if ($::VERBOSE)
{
$debug = 1;
}
#if ($::VERBOSE)
#{
# $debug = 1;
#}
open(HOSTFILE, "<$::HOSTFILE")
or