You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by ar...@apache.org on 2009/01/09 22:49:26 UTC
svn commit: r733160 - /incubator/vcl/trunk/managementnode/lib/VCL/new.pm
Author: arkurth
Date: Fri Jan 9 13:49:25 2009
New Revision: 733160
URL: http://svn.apache.org/viewvc?rev=733160&view=rev
Log:
VCL-39
Added password parameter when calling set_password.
Modified:
incubator/vcl/trunk/managementnode/lib/VCL/new.pm
Modified: incubator/vcl/trunk/managementnode/lib/VCL/new.pm
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/new.pm?rev=733160&r1=733159&r2=733160&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/new.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/new.pm Fri Jan 9 13:49:25 2009
@@ -1056,7 +1056,7 @@
if ($request_forimaging) {
# Set the Administrator password
notify($ERRORS{'OK'}, 0, "attempting to set Administrator password to $reservation_password on $computer_short_name");
- if (!$self->os->set_password('Administrator')) {
+ if (!$self->os->set_password('Administrator', $reservation_password)) {
notify($ERRORS{'WARNING'}, 0, "reserve computer failed: unable to set password for administrator account on $computer_short_name");
return 0;
}