Red Hat Enterprise Linux Server 7 – uppgift för agentuppgradering
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="Unix!Microsoft.Unix.SSHCommand.InstallLinuxAgent.WriteAction">
<Host/>
<Port/>
<UserName>$RunAs[Name="Unix!Microsoft.Unix.AgentMaintenanceAccount"]/UserName$</UserName>
<Password>$RunAs[Name="Unix!Microsoft.Unix.AgentMaintenanceAccount"]/Password$</Password>
<InstallCommand>--upgrade --force</InstallCommand>
<InstallPackage/>
<TimeoutSeconds>120</TimeoutSeconds>
</WriteAction>
</Task>