Author: fapeeler
Date: Tue Aug 28 15:07:50 2012
New Revision: 1378162
URL: http://svn.apache.org/viewvc?rev=1378162&view=rev
Log:
VCL-582
simple change to address timing issue between getting public ip address and
rc.local running
Modified:
vcl/branches/vcl-2.3-bugfixes/managementnode/lib/VCL/Module/OS/Linux.pm
Modified:
vcl/branches/vcl-2.3-bugfixes/managementnode/lib/VCL/Module/OS/Linux.pm
URL:
http://svn.apache.org/viewvc/vcl/branches/vcl-2.3-bugfixes/managementnode/lib/VCL/Module/OS/Linux.pm?rev=1378162&r1=1378161&r2=1378162&view=diff
==============================================================================
--- vcl/branches/vcl-2.3-bugfixes/managementnode/lib/VCL/Module/OS/Linux.pm
(original)
+++ vcl/branches/vcl-2.3-bugfixes/managementnode/lib/VCL/Module/OS/Linux.pm Tue
Aug 28 15:07:50 2012
@@ -268,14 +268,16 @@ sub post_load {
notify($ERRORS{'WARNING'}, 0, "unable to generate
/etc/init.d/ext_sshd on $computer_node_name");
#return 0;
}
-
- #Generate rc.local
- if (!$self->generate_rc_local()){
- notify($ERRORS{'WARNING'}, 0, "unable to generate
/etc/rc.local script on $computer_node_name");
- #return 0;
- }
- }
+ }
+
+ #Generate rc.local
+ if (!$self->generate_rc_local()){
+ notify($ERRORS{'WARNING'}, 0, "unable to generate /etc/rc.local
script on $computer_node_name");
+ #return 0;
+ }
+
+
# Change password
if ($self->changepasswd($computer_node_name, "root")) {