Steffen:

This should be fixed and please file a bug on this about the default.xml.



Steffen Weiberle wrote:
> On 05/14/09 18:09, mary ding wrote:
>> Steffen:
>>
>> It will not work and you need to specify a criteria in order for this 
>> work.
> 
> Wow! This was not obvious to me from section 6 of
> 
> http://dlc.sun.com/osol/docs/content/dev/AIinstall/customai.html
> 
> That page could be much clearer by at least mentioning the file names.
> 
> The only files with the content for specifying a different repo was the 
> default.xml, so it seemed creating a new one would be sufficient.
> 
> Steffen
> 
> PS. Doing this only so I can work on the Crossbow How-to Guide using 
> OpenSolaris instead of Nevada....AI is out of scope of my knowledge at 
> this time--a big change from Jumpstart--which did have its learning 
> curve back in its early days.
> 
> 
>>
>> This is the one that I use for sparc:
>>
>> admin at osol-inst:/export/profiles/osol_ai# installadm add -m 
>> `pwd`/criteria.sparc -n osol-0906-111b-ai-sparc-osol-inst
>> admin at osol-inst:/export/profiles/osol_ai# installadm list -c -n 
>> osol-0906-111b-ai-sparc-osol-inst
>> Manifest            Instance cpu
>> -----------------------------------
>> ai_server_sun4v.xml:
>>                     0       :::::sparc
>>                             :::::
>> admin at osol-inst:/export/profiles/osol_ai# cat /etc/release
>>                          OpenSolaris 2009.06 snv_111b X86
>>            Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
>>                         Use is subject to license terms.
>>                               Assembled 07 May 2009
>> admin at osol-inst:/export/profiles/osol_ai#
>>  more criteria.sparc
>> <ai_criteria_manifest>
>>         <ai_criteria name="CPU">
>>                 <value>
>>                         sparc
>>                 </value>
>>         </ai_criteria>
>>         <ai_manifest_file URI="./ai_server_sun4v.xml"/>
>>     <sc_manifest_file name="SSH" URI="./sc.encrypt.xml"/>
>> </ai_criteria_manifest>
>>
>> admin at osol-inst:/export/profiles/osol_ai#
>>
>>  more ai_server_sun4v.xml
>> <ai_manifest name="ai_server_sun4v">
>>     <ai_pkg_repo_default_authority>
>>         <main url="http://ipkg.sfbay/dev"; authname="opensolaris.org"/>
>>     </ai_pkg_repo_default_authority>
>>             <ai_install_packages>
>>         <!--
>>             Due to dependency issues, entire must be listed first
>>             in the package list, followed by SUNWcsd, and then SUNWcs.
>>             Any additional packages must be listed after SUNWcs.
>>         -->
>>         <pkg name="entire"/>
>>         <pkg name="SUNWcsd"/>
>>         <pkg name="SUNWcs"/>
>>         <pkg name="babel_install"/>
>>             </ai_install_packages>
>>             <ai_uninstall_packages>
>>             <pkg name="babel_install"/>
>>             <pkg name="slim_install"/>
>>             </ai_uninstall_packages>
>>             <ai_auto_reboot>
>>                 false
>>             </ai_auto_reboot>
>>         </ai_manifest>
>> admin at osol-inst:/export/profiles/osol_ai#  more sc*en*xml
>> <?xml version='1.0'?>
>> <!DOCTYPE service_bundle SYSTEM 
>> '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
>> <service_bundle type='profile' name='name'>
>>
>>   <service name='ai_properties' version='1' type='service'>
>>     <instance name='default' enabled='false'>
>>       <property_group name='ai' type='application'>
>>         <propval name='username' type='astring' value='jack' />
>>         <propval name='description' type='astring' value='default 
>> user' />
>>         <propval name='userpass' type='astring' value='9Nd/cwBcNWFZg' />
>>         <propval name='rootpass' type='astring' 
>> value='$5$VgppCOxA$ycFmYW4ObRRHh
>> tsGEygDdexk5bugqgSiaSR9niNCouC' />
>>         <propval name='timezone' type='astring' value='US/Pacific' />
>>       </property_group>
>>     </instance>
>>   </service>
>> </service_bundle>
>>
>> admin at osol-inst:/export/profiles/osol_ai#
>>
>>
>>
>>
>>
>>
>> Steffen Weiberle wrote:
>>> On 05/14/09 17:23, mary ding wrote:
>>>> Steffen:
>>>>
>>>> What build is your AI server running ?  If you try to add a 
>>>> different manifest fails, what is the content of sparc2009_06.xml.
>>>
>>> Hi Mary, here is the info without the clutter of my text.
>>>
>>> 111a
>>>
>>> # diff default.xml.orig sparc2009_06.xml
>>> 29c29
>>> <                 <main url="http://pkg.opensolaris.org/release"; 
>>> authname="opensolaris.org"/>
>>> ---
>>>  >                 <main url="http://pkg.opensolaris.org/dev"; 
>>> authname="opensolaris.org"/>
>>>
>>> # cat /etc/release
>>>                          OpenSolaris 2009.06 snv_111a X86
>>>            Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
>>>                         Use is subject to license terms.
>>>                              Assembled 17 April 2009
>>>
>>> I have been meaning to ask if this was a known issue, and would file 
>>> a bug if not.
>>>
>>> Steffen
>>>
>>> PS. This is an extension of the question from earlier this week 
>>> regarding DHCP, and I will update that thread soon. IA server is on a 
>>> different subnet.
>>>
>>>> Without this, we cannot identify what the issues are.
>>>>
>>>>
>>>>
>>>> Steffen Weiberle wrote:
>>>>> On 05/14/09 13:05, Shawn Walker wrote:
>>>>>> Avinash K wrote:
>>>>>>> Hi Sean,
>>>>>>>
>>>>>>> I tried it again, but now it's stuck in the below spot,
>>>>>>
>>>>>> ...
>>>>>>
>>>>>>>> <    <AI May 14 09:29:17> installation will be performed from
>>>>>>>> <    http://pkg.opensolaris.org/release (opensolaris.org)
>>>>>>>> <    <AI May 14 09:29:17> installation will be performed from
>>>>>>>> <    http://pkg.opensolaris.org/release (opensolaris.org)
>>>>>>
>>>>>> I assume you're trying to install build 111?
>>>>>>
>>>>>> You should probably switch to using http://pkg.opensolaris.org/dev
>>>>>>
>>>>>> Cheers,
>>>>>
>>>>> I had similar problems, and had to modify the 
>>>>> /usr/share/auto_install/default.xml to change 
>>>>> http://pkg.opensolaris.org/release to http://pkg.opensolaris.org/dev
>>>>>
>>>>> My attempts to create a different manifest failed. This was with 111a.
>>>>>
>>>>>
>>>>> # installadm list -n 0906sparc
>>>>> Manifest
>>>>> --------
>>>>> # installadm add -m `pwd`/sparc2009_06.xml -n 0906sparc
>>>>> root at scullville:/usr/share/auto_install# installadm list -n 
>>>>> 0906sparc Manifest
>>>>> --------
>>>>> #
>>>>>
>>>>> Steffen
>>>>> _______________________________________________
>>>>> caiman-discuss mailing list
>>>>> caiman-discuss at opensolaris.org
>>>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>>>>
>>>
>>
> 


Reply via email to