From 406346f2a6db521b582cf8a9fc860a34d8eecd3c Mon Sep 17 00:00:00 2001 From: daniceexi Date: Tue, 4 Sep 2012 07:46:56 +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/branches/2.7@13711 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 1a9b03132..4869b27ec 100644 --- a/xCAT-server/lib/xcat/plugins/rhevm.pm +++ b/xCAT-server/lib/xcat/plugins/rhevm.pm @@ -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;