remove sles11 hack, was fixed in configure_syslog.sh
@@ -43,12 +43,6 @@ def setup_omsagent_for_lad(run_command):
return 1, 'setup_omsagent_for_lad(): omsagent universal installer shell execution failed. ' \
'Output: {0}'.format(cmd_output)
- # 1.1. Modify configure_syslog.sh to work around on a SLES 11 anomaly: No "syslog-ng" service, but "syslog"
- # even though syslog-ng is installed, causing configure_syslog.sh to fail. Strange is that even though
- # the configure_syslog.sh fails, it seems syslog collection works, so it's not really a bug, though
- # it's just not very clean.
- run_command(r'sed -i "s/RestartService syslog-ng\\s*$/RestartService syslog-ng || RestartService syslog/g" /opt/microsoft/omsagent/bin/configure_syslog.sh')
-
# 2. Onboard to LAD workspace. Should be a noop if it's already done.
if not os.path.isdir(omsagent_lad_dir):
cmd_exit_code, cmd_output = run_command(omsagent_lad_workspace_cmd_template.format(args='-w LAD'))
