You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by fa...@apache.org on 2009/09/29 19:14:14 UTC

svn commit: r820035 - /incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm

Author: fapeeler
Date: Tue Sep 29 17:14:14 2009
New Revision: 820035

URL: http://svn.apache.org/viewvc?rev=820035&view=rev
Log:
VCL-238

typo fix: should have -h for shutdown instead of -r for reboot

Modified:
    incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm

Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm?rev=820035&r1=820034&r2=820035&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm Tue Sep 29 17:14:14 2009
@@ -144,9 +144,9 @@
 	} ## end if ($IPCONFIGURATION eq "static")
 
 	#shutdown node
-	notify($ERRORS{'OK'}, 0, "initating reboot for Linux imaging sequence");
-	run_ssh_command($computer_node_name, $management_node_keys, "/sbin/shutdown -r now", "root");
-	notify($ERRORS{'OK'}, 0, "sleeping for 60 seconds while machine shuts down and reboots");
+	notify($ERRORS{'OK'}, 0, "shutting down node for Linux imaging sequence");
+	run_ssh_command($computer_node_name, $management_node_keys, "/sbin/shutdown -h now", "root");
+	notify($ERRORS{'OK'}, 0, "sleeping for 60 seconds while machine shuts down");
 	sleep 60;
 
 	notify($ERRORS{'OK'}, 0, "returning 1");