<?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: post configuration commands in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602808#M511655</link>
    <description>&lt;BR /&gt;You can do the following &lt;BR /&gt;&lt;BR /&gt;post_config_cmd += "&lt;BR /&gt;   list &lt;BR /&gt;   cmds &lt;BR /&gt;   here"&lt;BR /&gt;example: &lt;BR /&gt;post_config_cmd += "&lt;BR /&gt;    /usr/sbin/ch_rc -a -p NFS_SERVER=0&lt;BR /&gt;    /usr/sbin/ch_rc -a -p NFS_CLIENT=1&lt;BR /&gt;    /usr/sbin/cp /etc/nsswitch.files /etc/nsswitch.conf"&lt;BR /&gt;    &lt;BR /&gt;They do run last from my knowledge.</description>
    <pubDate>Fri, 12 Aug 2005 13:12:42 GMT</pubDate>
    <dc:creator>Marvin Strong</dc:creator>
    <dc:date>2005-08-12T13:12:42Z</dc:date>
    <item>
      <title>post configuration commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602803#M511650</link>
      <description>I tried setting up some post configuration commands to be executed after my client is ignited. The "ignition" process is successful, no problem here. The problem is the post_config_cmd:&lt;BR /&gt;-if I put it in /var/opt/ignite/&lt;CLIENT&gt;/config.full then at the next ignite the line is gone, obviously this file is rebuilt from somewhere else&lt;BR /&gt;&lt;BR /&gt;-I tried putting it into /vat/opt/ignite/config.local but nothing is executed&lt;BR /&gt;&lt;BR /&gt;-I also tried the /var/opt/ignite/&lt;CLIENT&gt;/config but same result, not executed :(&lt;BR /&gt;&lt;BR /&gt;My post_config_cmd commands only do a few simple echoes to mailx to mail out some data.&lt;BR /&gt;&lt;BR /&gt;How can this be done properly?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;james&lt;/CLIENT&gt;&lt;/CLIENT&gt;</description>
      <pubDate>Fri, 12 Aug 2005 10:23:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602803#M511650</guid>
      <dc:creator>jamesps</dc:creator>
      <dc:date>2005-08-12T10:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: post configuration commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602804#M511651</link>
      <description>Well where I put mine is in the INDEX on the ignite server. then I just select the one I want to run. While I go through the ignite process. &lt;BR /&gt;&lt;BR /&gt;my entry in /var/opt/ignite/INDEX is as follows. &lt;BR /&gt;&lt;BR /&gt;very bottom of the file: &lt;BR /&gt;&lt;BR /&gt;scripts {"/path/post_script"}&lt;BR /&gt;&lt;BR /&gt;another way to do it. is to add &lt;BR /&gt;&lt;BR /&gt;post_script += script &lt;BR /&gt;&lt;BR /&gt;to your core cfg that you use. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 10:45:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602804#M511651</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2005-08-12T10:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: post configuration commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602805#M511652</link>
      <description>Would I be able to use the CINDEX for that? I will have individual post config cmds for each of my clients. Do you think that would work?&lt;BR /&gt;Thanks!&lt;BR /&gt;james</description>
      <pubDate>Fri, 12 Aug 2005 11:04:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602805#M511652</guid>
      <dc:creator>jamesps</dc:creator>
      <dc:date>2005-08-12T11:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: post configuration commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602806#M511653</link>
      <description>It might not sure never used the CINDEX before, I just have everything setup as a golden image, and a few scripts to select from. Since I dont have it fully automated yet.&lt;BR /&gt;&lt;BR /&gt;config.local should have ran your post script  if you used the correct syntax. &lt;BR /&gt;&lt;BR /&gt;did you have &lt;BR /&gt;&lt;BR /&gt;post_config_script += script&lt;BR /&gt;&lt;BR /&gt;I believe most configurations in INDEX use config.local. &lt;BR /&gt;&lt;BR /&gt;You might have to put some logic into the config.local for each of your clients. &lt;BR /&gt;&lt;BR /&gt;for example: &lt;BR /&gt;&lt;BR /&gt;(HARDWARE_MODEL ~ 9000/800/L3000") { &lt;BR /&gt;   post_config_script += lpost } else { post_config_script += rppost } &lt;BR /&gt;&lt;BR /&gt;not 100% sure if my syntax is correct there. &lt;BR /&gt;&lt;BR /&gt;You might want to search docs.hp.com for the ignite manual. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 12:48:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602806#M511653</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2005-08-12T12:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: post configuration commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602807#M511654</link>
      <description>I did check the manualsm the forums, all the doc I could find but still unclear. I find this option to be described poorly in the manual. &lt;BR /&gt;&lt;BR /&gt;Can you add subsequent post_config_cmd+=... commands or you must specify a script to execute? Is this going to be executed at the very end?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;james</description>
      <pubDate>Fri, 12 Aug 2005 13:03:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602807#M511654</guid>
      <dc:creator>jamesps</dc:creator>
      <dc:date>2005-08-12T13:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: post configuration commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602808#M511655</link>
      <description>&lt;BR /&gt;You can do the following &lt;BR /&gt;&lt;BR /&gt;post_config_cmd += "&lt;BR /&gt;   list &lt;BR /&gt;   cmds &lt;BR /&gt;   here"&lt;BR /&gt;example: &lt;BR /&gt;post_config_cmd += "&lt;BR /&gt;    /usr/sbin/ch_rc -a -p NFS_SERVER=0&lt;BR /&gt;    /usr/sbin/ch_rc -a -p NFS_CLIENT=1&lt;BR /&gt;    /usr/sbin/cp /etc/nsswitch.files /etc/nsswitch.conf"&lt;BR /&gt;    &lt;BR /&gt;They do run last from my knowledge.</description>
      <pubDate>Fri, 12 Aug 2005 13:12:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602808#M511655</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2005-08-12T13:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: post configuration commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602809#M511656</link>
      <description>Seen those. I tried put them in config.full. The got deleted after the ignite process ended. I still cannot figure this out. Going through the manuals didn't help so far.&lt;BR /&gt;If I use a post_script then this will have to go in an INDEX and I will probably have to use manage_index to put them there, etc.&lt;BR /&gt;I would like to use the post_config_cmd but I don;t know where to put it. Tried config, config.local, config.full, control_cfg. No success :(&lt;BR /&gt;&lt;BR /&gt;james</description>
      <pubDate>Fri, 12 Aug 2005 13:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602809#M511656</guid>
      <dc:creator>jamesps</dc:creator>
      <dc:date>2005-08-12T13:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: post configuration commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602810#M511657</link>
      <description>the ignite process overwrites the client config everytime thats why anything you put in those files are lost. &lt;BR /&gt;&lt;BR /&gt;config.local is probably the correct place. &lt;BR /&gt;&lt;BR /&gt;making sure your INDEX is correct and logic is correct in config.local is the challenge. &lt;BR /&gt; &lt;BR /&gt;Are the customizations hardware specific? or selection specific? &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 13:25:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602810#M511657</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2005-08-12T13:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: post configuration commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602811#M511658</link>
      <description>&lt;A href="http://docs.hp.com/en/B2355-90875/B2355-90875.pdf" target="_blank"&gt;http://docs.hp.com/en/B2355-90875/B2355-90875.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That should be a link to the Ignite Administrators Guide in pdf form. start at page 154 it covers customized installations with post scripts etc.. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2005 13:30:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/post-configuration-commands/m-p/3602811#M511658</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2005-08-12T13:30:05Z</dc:date>
    </item>
  </channel>
</rss>

