fix the missunderstanding for the kernel parameter rhevm_admin_password. Which is used to set the root passwd of host

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2012-09-04 07:48:26 +00:00
parent 3238ea6760
commit 0328c2b9e7

View File

@ -600,8 +600,7 @@ sub mkinstall {
$kcmdline .= " adminpw=$rhevm_hash->{$rhevm}->{host}->{$node}->{adminpw} rootpw=$rhevm_hash->{$rhevm}->{host}->{$node}->{rootpw} ssh_pwauth=1";
# set the hostname and password of the management server for the node so that node could register to the rhevm automatically.
$kcmdline .= " management_server=$rhevm_hash->{$rhevm}->{name} rhevm_admin_password=";
$kcmdline .= authpw($rhevm_hash->{$rhevm}->{pw});
$kcmdline .= " management_server=$rhevm_hash->{$rhevm}->{name} rhevm_admin_password=$rhevm_hash->{$rhevm}->{host}->{$node}->{rootpw}";
# set the flag update trigger, after installing of rhev-h, this url will be 'wget', xCAT MN will handle this event to run the upfateflag for this rhev-h
my $xcatmaster;