<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Setting deployment-client clientName programmatically during Windows forwarder install? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Setting-deployment-client-clientName-programmatically-during/m-p/98333#M3639</link>
    <description>&lt;P&gt;I might be missing something but couldn't you echo the line you wanted in to the file?&lt;/P&gt;

&lt;P&gt;echo servername=%computername% &amp;gt; c:\program...\serverclass.conf&lt;/P&gt;</description>
    <pubDate>Wed, 21 Mar 2012 15:43:02 GMT</pubDate>
    <dc:creator>treinke</dc:creator>
    <dc:date>2012-03-21T15:43:02Z</dc:date>
    <item>
      <title>Setting deployment-client clientName programmatically during Windows forwarder install?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Setting-deployment-client-clientName-programmatically-during/m-p/98332#M3638</link>
      <description>&lt;P&gt;I am testing automatic/silent install of the Universal Forwarder under Windows.  As documented &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.1/Deploy/DeployaWindowsdfviathecommandline" title="Deploy Windows Forwarder via CMD line"&gt;here&lt;/A&gt;, I can do a silent install and point the forwarder at my Deployment Server.  However, there's no obvious way to set the clientName from the deployment-client stanza of deploymentclient.conf.&lt;/P&gt;

&lt;P&gt;It seems silly to use the silent installer only to turn around and copy over one of the files created by the installer in order to add this, and we've got a well-established system of using this field for serverclass.conf.&lt;/P&gt;

&lt;P&gt;Does anyone know of a programmatic way to set this field so I can keep my install nice and automated?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2012 13:22:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Setting-deployment-client-clientName-programmatically-during/m-p/98332#M3638</guid>
      <dc:creator>gowen</dc:creator>
      <dc:date>2012-03-21T13:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Setting deployment-client clientName programmatically during Windows forwarder install?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Setting-deployment-client-clientName-programmatically-during/m-p/98333#M3639</link>
      <description>&lt;P&gt;I might be missing something but couldn't you echo the line you wanted in to the file?&lt;/P&gt;

&lt;P&gt;echo servername=%computername% &amp;gt; c:\program...\serverclass.conf&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2012 15:43:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Setting-deployment-client-clientName-programmatically-during/m-p/98333#M3639</guid>
      <dc:creator>treinke</dc:creator>
      <dc:date>2012-03-21T15:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Setting deployment-client clientName programmatically during Windows forwarder install?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Setting-deployment-client-clientName-programmatically-during/m-p/98334#M3640</link>
      <description>&lt;P&gt;Yes, I can just echo the values I want into the file, or even more simply, copy a replacement file into place.  I was hoping to limit the install to a single msiexec execution, but expanding it to a batch file with support files isn't all that much worse.  I have been pleasantly surprised by command line options I didn't expect in the past, though, and was hoping for that here.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2012 17:47:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Setting-deployment-client-clientName-programmatically-during/m-p/98334#M3640</guid>
      <dc:creator>gowen</dc:creator>
      <dc:date>2012-03-21T17:47:58Z</dc:date>
    </item>
  </channel>
</rss>

