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/branches/2.7@13711 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2012-09-04 07:46:56 +00:00
parent 7317419c92
commit 406346f2a6

View File

@ -596,8 +596,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;