Tarea de actualización del agente SUSE Linux Enterprise Server 11
Microsoft.Linux.SLES.11.Agent.Upgrade.Task (Task)
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Linux.SLES.11.Agent.Upgrade.Task" Target="Microsoft.Linux.SLES.11.Computer" Accessibility="Internal" Enabled="true">
<Category>Maintenance</Category>
<WriteAction ID="InstallAgent" TypeID="Linux!Microsoft.Linux.UpgradeAgent.WriteAction">
<Host>$Target/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</Host>
<Port>$Target/Property[Type="Unix!Microsoft.Unix.Computer"]/SSHPort$</Port>
<UserName>$RunAs[Name="Unix!Microsoft.Unix.AgentMaintenanceAccount"]/UserName$</UserName>
<Password>$RunAs[Name="Unix!Microsoft.Unix.AgentMaintenanceAccount"]/Password$</Password>
<InstallCommand>--upgrade --enable-opsmgr; if [ -f /opt/microsoft/omsagent/bin/omsadmin.sh ] && [ ! -f /etc/opt/microsoft/omsagent/scom/certs/scom-cert.pem ]; then /opt/microsoft/omsagent/bin/omsadmin.sh -w scom; fi</InstallCommand>
<InstallPackage/>
<TimeoutSeconds>400</TimeoutSeconds>
</WriteAction>
</Task>