On 09/11/10 03:00, Frank Allan wrote:


    On 09/10/10 07:51, Ethan Quach wrote:

> How do I set the disk selection without modifying the ai_manifest.xml > file in the service area. > I expect there is a way to set this for an individual client, but I > can't see how to do it. > The Flag Day docs have examples of how to convert existing clients, > but no information that I can see on actually setting up a new one > from scratch in 147. >> I have setup a new client and successfully booted it with its own > manifest, just not sure how/where to add the disk selection.

    Does the sample /usr/share/auto_install/ai_manifest.xml help?


The problem I am having is where/how I include the disk selection statements 
which I found in ai_manifest.xml
I guess this is once again my lack of expertise with XML.

Do I select part/all of the ai_manifest.xml and include it in my 
client-specific manifest?
Presumably I can't include my client-specific manifest in the ai_manifest file 
as it has the embedded service_bundle already included (as a comment) so I 
can't include comments within comments.
I *can* find the specification I want for a particular disk, just not how/where 
to include it.

Short summary:
I have my_client_default.xml (copy of default.xml) - I include 
static_network.xml in this as an embedded manifest.
How do I include ai_manifest.xml - is this another embedded manifest? If I understand things correctly, my_client_default is an ai manifest, and I can embed an sc manifest in this.
But I can't embed another ai manifest.
Presumably, since disk selection is in an ai manifest, I can't specify it in my 
criteria manifest.
Can I just add part/all of the disk_selection section of ai_manifest to the 
start of my_client_default?

You should be able to add your disk_selection tags to your my_client_default.xml file. You can look in ai_manifest.xml for samples of what you need to add. For example, if you wanted to select the disk based on a specific volid, "my_volid", you could add the following snippet, starting directly under the "<ai_instance...>" line:

    <target>
      <target_device>
        <disk>
          <disk_name name_type="volid" name="my_volid"/>
        </disk>
      </target_device>
    </target>

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

Reply via email to