SUSE Linux Enterprise Server 10 代理卸载任务
Microsoft.Linux.SLES.10.Agent.Uninstall.Task (Task)
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Linux.SLES.10.Agent.Uninstall.Task" Target="Microsoft.Linux.SLES.10.Computer" Accessibility="Internal" Enabled="true">
<Category>Maintenance</Category>
<WriteAction ID="UninstallAgent" TypeID="Unix!Microsoft.Unix.SSHCommand.UninstallAgent.WriteAction">
<Host/>
<Port/>
<UserName>$RunAs[Name="Unix!Microsoft.Unix.AgentMaintenanceAccount"]/UserName$</UserName>
<Password>$RunAs[Name="Unix!Microsoft.Unix.AgentMaintenanceAccount"]/Password$</Password>
<UninstallCommand>rpm -e</UninstallCommand>
<PackageInstance>scx</PackageInstance>
<TimeoutSeconds>120</TimeoutSeconds>
</WriteAction>
</Task>