Red Hat Enterprise Linux Server 7 代理升级任务
Microsoft.Linux.RHEL.7.Agent.Upgrade.Task (Task)
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Linux.RHEL.7.Agent.Upgrade.Task" Target="Microsoft.Linux.RHEL.7.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</InstallCommand>
<InstallPackage/>
<TimeoutSeconds>400</TimeoutSeconds>
</WriteAction>
</Task>