Hi Paul, I removed <ai_uninstall_packages> and it seems to hit the bug you mentioned below.
Error: Criteria None is not a valid criteria! So using name=default is the only option in front of me? or is there any way of using something else. Harshal On Fri, Jul 24, 2009 at 8:08 PM, Paul Neary <Paul.Neary at sun.com> wrote: > Also watch out for > > Error: Criteria None is not a valid criteria! > > if you don't use > <ai_manifest name="default"> > > See http://defect.opensolaris.org/bz/show_bug.cgi?id=4318 > > -Paul > > > > On 07/24/09 15:19, Asif Iqbal wrote: > > On Fri, Jul 24, 2009 at 10:10 AM, Harshal<p.harshal at gmail.com> <p.harshal > at gmail.com> wrote: > > > There is no need for <ai_uninstall_packages> as I am not install > babel_install. > > > then remove </ai_uninstall_packages> from your xml. otherwise that xml > will never work > > > > > My aim is to come up with manifest so that minimal OS installation is done > using that. babel_install pulls things which we don't need. > > > > On Fri, Jul 24, 2009 at 7:35 PM, Paul Neary <Paul.Neary at sun.com> > <Paul.Neary at sun.com> wrote: > > > Looks like you're missing <ai_uninstall_packages> > -paul > > On 07/24/09 09:33, Harshal wrote: > > Hi, > > I am not able to make sense out of this error pasted below. I edited the > default manifest by following instructions > athttp://www.opensolaris.org/os/project/caiman/auto_install/AI_manifest_setup.html > , section 'How to change the default manifest?' But all I am getting is > output pasted below. I am also attaching the edited manifest with this > post. > > > root at install:/export/home/hpcuser# installadm add -m > PrimaryInstaller_ai_manifest_install.xml -n unicluster > Error: File PrimaryInstaller_ai_manifest_install.xml failed validation: > Extra content at the end of the document > root at install:/export/home/hpcuser# > > > > <!-- > CDDL HEADER START > > The contents of this file are subject to the terms of the > Common Development and Distribution License (the "License"). > You may not use this file except in compliance with the License. > > You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE > or http://www.opensolaris.org/os/licensing. > See the License for the specific language governing permissions > and limitations under the License. > > When distributing Covered Code, include this CDDL HEADER in each > file and include the License file at usr/src/OPENSOLARIS.LICENSE. > If applicable, add the following below this CDDL HEADER, with the > fields enclosed by brackets "[]" replaced with your own identifying > information: Portions Copyright [yyyy] [name of copyright owner] > > CDDL HEADER END > > Copyright 2009 Sun Microsystems, Inc. All rights reserved. > Use is subject to license terms. > --> > > <ai_criteria_manifest> > <ai_embedded_manifest> > <ai_manifest name="PrimaryInstaller_ai_manifest_install"> > <ai_pkg_repo_default_authority> > <main url="http://pkg.opensolaris.org/release" > <http://pkg.opensolaris.org/release> > authname="opensolaris.org"/> > <mirror url=""/> > </ai_pkg_repo_default_authority> > > <!-- > By default the latest build available, in the specified > IPS > repository, is installed. > If another build is required, the build number has > to be appended to the 'entire' package in following > form: > > <pkg_name="entire at 0.5.11-0.build#/> > --> > <ai_install_packages> > <pkg name="entire"/> > <pkg name='SUNWcsd'/> > <pkg name='SUNWcs'/> > <pkg name='SUNWcar'/> > <pkg name='SUNWcakr'/> > <pkg name='SUNWkvm'/> > <pkg name='SUNWos86r'/> > <pkg name='SUNWrmodr'/> > <pkg name='SUNWpsdcr'/> > <pkg name='SUNWpsdir'/> > <pkg name='SUNWcnetr'/> > <pkg name='SUNWesu'/> > <pkg name='SUNWkey'/> > <pkg name='SUNWnfsckr'/> > <pkg name='SUNWnfsc'/> > <pkg name='SUNWgss'/> > <pkg name='SUNWgssc'/> > <pkg name='SUNWbip'/> > <pkg name='SUNWbash'/> > <pkg name='SUNWloc'/> > <pkg name='SUNWsshcu'/> > <pkg name='SUNWsshd'/> > <pkg name='SUNWssh'/> > <pkg name='SUNWtoo'/> > <pkg name='SUNWzfskr'/> > <pkg name='SUNWipf'/> > <pkg name='SUNWintgige'/> > <pkg name='SUNWipkg'/> > <pkg name='SUNWadmr'/> > <pkg name='SUNWadmap'/> > <pkg name='SUNWPython'/> > <pkg name='SUNWperl584core'/> > <pkg name='SUNWgrub'/> > <pkg name='SUNWxcu6'/> > <pkg name='SUNWxcu4'/> > <pkg name='SUNWgawk'/> > <pkg name='SUNWgtar'/> > <pkg name='SUNWgnu-oreutils'/> > <pkg name='SUNWscp'/> > <pkg name='SUNWfmd'/> > <pkg name='SUNWxge'/> > <pkg name='SUNWbge'/> > <pkg name='SUNWnge'/> > <pkg name='SUNWrge'/> > <pkg name='SUNWrtls'/> > <pkg name='SUNWixgb'/> > <pkg name='SUNWchxge'/> > <pkg name='SUNWzfs-auto-snapshot'/> > <pkg name='SUNWsolnm'/> > </ai_install_packages> > </ai_uninstall_packages> > <ai_auto_reboot> > false > </ai_auto_reboot> > </ai_manifest> > </ai_embedded_manifest> > <sc_embedded_manifest name = "AI"> > <!-- <?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="true"> > <property_group name="ai" type="application"> > <propval name="username" type="astring" > value="jack"/> > <propval name="userpass" type="astring" > value="9Nd/cwBcNWFZg"/> > <propval name="description" type="astring" > value="default_user"/> > <propval name="rootpass" type="astring" > value="$5$VgppCOxA$ycFmYW4ObRRHhtsGEygDdexk5bugqgSiaSR9niNCouC"/> > <propval name="timezone" type="astring" > value="US/Pacific"/> > </property_group> > </instance> > </service> > </service_bundle> > --> > </sc_embedded_manifest> > </ai_criteria_manifest> > > ________________________________ > _______________________________________________ > caiman-discuss mailing listcaiman-discuss at > opensolaris.orghttp://mail.opensolaris.org/mailman/listinfo/caiman-discuss > > _______________________________________________ > caiman-discuss mailing listcaiman-discuss at > opensolaris.orghttp://mail.opensolaris.org/mailman/listinfo/caiman-discuss > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20090724/dc5d6daa/attachment.html>
