This is an automated email from the ASF dual-hosted git repository.
jfthomps pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/vcl.git
The following commit(s) were added to refs/heads/develop by this push:
new 2a711bb Windows.pm: modified reboot: corrected comment about setting
sshd service startup mode; added debug notify for successful setting of sshd
service to manual
2a711bb is described below
commit 2a711bb2ab01e71ddc140f35cbcbc47565e6ae48
Author: Josh Thompson <[email protected]>
AuthorDate: Tue May 28 14:24:51 2019 -0400
Windows.pm: modified reboot: corrected comment about setting sshd service
startup mode; added debug notify for successful setting of sshd service to
manual
---
managementnode/lib/VCL/Module/OS/Windows.pm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/managementnode/lib/VCL/Module/OS/Windows.pm
b/managementnode/lib/VCL/Module/OS/Windows.pm
index a17c35c..91eb707 100644
--- a/managementnode/lib/VCL/Module/OS/Windows.pm
+++ b/managementnode/lib/VCL/Module/OS/Windows.pm
@@ -3938,11 +3938,14 @@ sub reboot {
return 0;
}
- # Set sshd service startup mode to auto
+ # Set sshd service startup mode to manual
if (!$self->set_service_startup_mode('sshd', 'manual'))
{
notify($ERRORS{'WARNING'}, 0, "reboot not
attempted, unable to set sshd service startup mode to manual");
return 0;
}
+ else {
+ notify($ERRORS{'DEBUG'}, 0, "sshd service set
to manual start");
+ }
# Make sure ping access is enabled from private IP
addresses
if (!$self->firewall_enable_ping_private()) {