(EN DESUSO) ElevatedInstallLinuxAgent
Microsoft.Unix.SSHCommand.Elevated.InstallLinuxAgent.WriteAction (WriteActionModuleType)
(EN DESUSO) Instala un agente en un host Linux.
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<WriteActionModuleType ID="Microsoft.Unix.SSHCommand.Elevated.InstallLinuxAgent.WriteAction" Accessibility="Public">
<Configuration>
<xsd:element name="Host" type="xsd:string"/>
<xsd:element name="Port" type="xsd:string" minOccurs="0"/>
<xsd:element name="UserName" type="xsd:string"/>
<xsd:element name="Password" type="xsd:string"/>
<xsd:element name="SUPassword" type="xsd:string"/>
<xsd:element name="SUCommand" type="xsd:string"/>
<xsd:element name="InstallCommand" type="xsd:string"/>
<xsd:element name="InstallPackage" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Host" ParameterType="string" Selector="$Config/Host$"/>
<OverrideableParameter ID="Port" ParameterType="string" Selector="$Config/Port$"/>
<OverrideableParameter ID="UserName" ParameterType="string" Selector="$Config/UserName$"/>
<OverrideableParameter ID="Password" ParameterType="string" Selector="$Config/Password$"/>
<OverrideableParameter ID="SUPassword" ParameterType="string" Selector="$Config/SUPassword$"/>
<OverrideableParameter ID="SUCommand" ParameterType="string" Selector="$Config/SUCommand$"/>
<OverrideableParameter ID="InstallCommand" ParameterType="string" Selector="$Config/InstallCommand$"/>
<OverrideableParameter ID="InstallPackage" ParameterType="string" Selector="$Config/InstallPackage$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<WriteAction ID="InstallElevatedLinuxAgent" TypeID="Microsoft.Unix.SSHCommand.Elevated.InstallAgentScript.WriteAction">
<Host>$Config/Host$</Host>
<Port>$Config/Port$</Port>
<UserName>$Config/UserName$</UserName>
<Password>$Config/Password$</Password>
<SUPassword>$Config/SUPassword$</SUPassword>
<SUCommand>$Config/SUCommand$</SUCommand>
<InstallCommand>"$Config/InstallCommand$scx-$Config/UserName$/$Config/InstallPackage$" "$Config/InstallPackage$"</InstallCommand>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="InstallElevatedLinuxAgent"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.BaseData</OutputType>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>