From 0328c2b9e7c707f4303caa92e8110f2fe1c00f7b Mon Sep 17 00:00:00 2001 From: daniceexi Date: Tue, 4 Sep 2012 07:48:26 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/rhevm.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/rhevm.pm b/xCAT-server/lib/xcat/plugins/rhevm.pm index 9806545e0..6a0de51bc 100644 --- a/xCAT-server/lib/xcat/plugins/rhevm.pm +++ b/xCAT-server/lib/xcat/plugins/rhevm.pm @@ -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;