On 08/18/11 20:52, Tom Warner wrote:

Would someone with a firm grasp of the the AI manifest kindly
give me a clue as to what I'm doing wrong.  I've tried a few
other incantations but I just can make it fly.

Thank you, tom

The following snip from my manifest gives me an error "ERROR Only one IPS image
source may be specified"


Tom, you should just put the multiple publishers within a single <source> element.

Dave

       <software name="IPS">
         <source>
           <publisher name="solaris">
             <origin name="http://ipkg.us.oracle.com/solaris11/dev/"/>
           </publisher>
         </source>

         <source>
           <publisher name="cr-labtech">
             <origin name="http://10.6.220.32:20022"/>
           </publisher>
         </source>

         <software_data action="install">
           <name>pkg:/[email protected]</name>
           <name>pkg:/group/system/solaris-large-server</name>
           <name>pkg:/crlabtech/CR-LabFinish</name>
         </software_data>
       </software>

   root@turbulent:~# tail /system/volatile/install_log

   2011-08-18 17:04:12,237   InstallationLogger CRITICAL   Failed Checkpoints:
   2011-08-18 17:04:12,288   InstallationLogger CRITICAL 
generated-transfer-929-1
   2011-08-18 17:04:12,338   InstallationLogger ERROR      Only one IPS image 
source may be specified
   None
   2011-08-18 17:04:12,388   InstallationLogger INFO       Automated 
Installation Failed
   2011-08-18 17:04:12,439   InstallationLogger INFO       Please see logs for 
more information
   2011-08-18 17:04:12,489   InstallationLogger DEBUG      Shutting down 
Progress Handler
   root@turbulent:~#



This manifest works but my system only has the http://10.6.220.32:20022 repo
after the system reboot.

   turbulent# pkg publisher
   PUBLISHER                             TYPE     STATUS   URI
   cr-labtech                            origin   online 
http://10.6.220.32:20022/
   turbulent#


   root@turbulent:/system/volatile#  cat ai.xml
   <!DOCTYPE auto_install SYSTEM "file:///usr/share/install/ai.dtd">
   <auto_install>
     <ai_instance auto_reboot="true" name="ai_turbulent">
       <target>
         <logical>
           <zpool name="rpool" is_root="true">
             <filesystem name="export" mountpoint="/export"/>
             <filesystem name="export/home"/>
             <be name="solaris"/>
           </zpool>
         </logical>
       </target>
       <software type="IPS">
         <source>
           <publisher name="solaris">
             <origin name="http://ipkg.us.oracle.com/solaris11/dev/"/>
           </publisher>
         </source>

          <software_data action="install">
            <name>pkg:/[email protected]</name>
            <name>pkg:/group/system/solaris-large-server</name>
          </software_data>
        </software>

        <software name="cr-labtech" type="IPS">
          <source>
            <publisher name="cr-labtech">
              <origin name="http://10.6.220.32:20022"/>
            </publisher>
          </source>
          <software_data>
            <name>pkg:/crlabtech/CR-LabFinish</name>
          </software_data>
        </software>

     </ai_instance>
   </auto_install>
   root@turbulent:/system/volatile#
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to