JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Transitioning From Oracle Solaris 10 JumpStart to Oracle Solaris 11.1 Automated Installer     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Comparing JumpStart and Automated Installer

2.  Converting Rules and Profile Files

Comparing Rules Keywords and Criteria Directives

Comparing Profile Keywords and AI Manifest Directives

Using js2ai To Convert JumpStart Rules and Profiles to AI Criteria and Manifests

How js2ai Converts JumpStart Device Specifications

How the System's Root Disk is Determined

How the any Device Is Translated

How the ZFS Root Pool is Determined

Converting Software Packages

Example Rules and Profiles Conversion Using js2ai

Sample JumpStart Rules File and Profile Files

Using js2ai With the Rules File Option

Equivalent AI Criteria Files

Equivalent AI Manifest Files

Fix the fdisk.profile Errors

Fix the mirrorfilesys.profile Errors

Fix the mirrorpool.profile Errors

Fix the rootdisk.profile Errors

Displaying More Profile Conversion Information

Validating an Output AI Manifest

3.  Converting Configuration Files

4.  Installing Oracle Solaris 10 Using JumpStart on an Oracle Solaris 11 Server

Using js2ai To Convert JumpStart Rules and Profiles to AI Criteria and Manifests

Use the js2ai utility with the -r option to convert both JumpStart rules and their associated profiles to AI criteria and manifests. Initially use the -S option to skip validation.

/usr/sbin/js2ai -rS [-d sysidcfg_dir] [-D destination_dir]

This command performs a conversion operation on the rules file and the profiles referenced by the rules file. Each profile referenced in the rules file is processed against the AI client provisioning manifest, /usr/share/auto_install/manifest/default.xml. This step creates a directory named AI_profile_name for each profile specified in the JumpStart rules file. The AI_profile_name directory contains an AI criteria file in the form criteria-rule_number.xml that corresponds to the rule that referenced this profile. The AI_profile_name directory also contains AI manifest files in the form profile_name.arch.xml that correspond to the profile_name profile file.

If you do not see a message that the conversion was successfully completed, examine the error report and the js2ai.log file. The error report and the log file report warnings, process errors, unsupported items, conversion errors, and validation errors. The error report is a table output to stdout that shows the number of each type of error that was encountered in converting the rules and profile files. The log file describes the problems.

  1. Correct any process errors.

  2. Remove any lines from the rules and profile files that are listed as unsupported items.

  3. Examine the conversion errors and correct the errors if possible. Otherwise, remove the lines that are causing the errors.

  4. Examine any warning messages and make sure no corrections are necessary.

When you receive a message that the conversion completed successfully, run the js2ai command without the -S option to validate the output AI manifests. Validation errors must be corrected in the AI manifest files.

To validate a specific output AI manifest against the appropriate AI DTD, run the js2ai command with the -V option:

/usr/sbin/js2ai -V manifest_file

AI manifests are also validated when you add them to an AI install service.

To use the js2ai utility to convert one JumpStart profile file instead of a rules file and all profiles associated with that rules file, use the -p option instead of the -r option.

/usr/sbin/js2ai -p JS_profile_name [-d sysidcfg_dir] [-D destination_dir]

How js2ai Converts JumpStart Device Specifications

This section describes how js2ai determines some target elements for the AI manifest from the JumpStart profile specifications.

How the System's Root Disk is Determined

Since js2ai does not have access to the client system a profile references during the profile translation process, js2ai attempts to determine what the root disk is during translation using a process that matches JumpStart as much as possible.

The js2ai tool performs the following steps to determine what device to use for the root disk:

  1. If the root_device keyword is specified in the profile, js2ai sets rootdisk to the device on which the slice resides.

  2. If rootdisk is not set and the boot_device keyword is specified in the profile, js2ai sets rootdisk to the boot device.

  3. If rootdisk is not set, partitioning default is specified, and a solaris fdisk entry is encountered, js2ai sets rootdisk to the specified disk_name.

  4. If rootdisk is not set and a filesys cwtxdysz size / entry is specified in the profile, js2ai sets rootdisk to the cwtxdysz disk specified in the entry.

  5. If rootdisk is not set and a usedisk disk_name entry is specified in the profile, js2ai sets rootdisk to the disk_name disk specified in the entry.

  6. If rootdisk is not set and the following specification is encountered in the profile where size is not 0 or delete and disk_name is not all, then rootdisk is set to this disk_name.

    fdisk disk_name solaris size
  7. If rootdisk is not set, any occurrence where the device is specified as rootdisk generates a conversion error.

How the any Device Is Translated

The js2ai tool performs the following steps to determine what device to use when the any keyword is specified:

  1. If the any device is specified and the keyword action specified (non-mirrored pool, or filesys with a / mount point), the any device is set to rootdisk if rootdisk is set.

  2. If the any device has not been translated and a usedisk statement exists in the profile, the any device is set to the device specified by the usedisk statement.

  3. If the any device has not been translated and the action where the any device is specified causes the ZFS root pool to be created, AI chooses the device. This is not applicable when a mirrored pool is specified.

How the ZFS Root Pool is Determined

The js2ai tool performs the following steps to determine what device to use for the ZFS root pool. Once the ZFS root pool is determined, subsequent definitions encountered are flagged as errors if they conflict with the ZFS root pool that has already been determined.

  1. If the profile specifies the pool keyword, js2ai sets the ZFS root pool to the devices specified by the pool keyword.

  2. If the ZFS root pool has not been determined and the profile specifies a filesys with a mount point of /, the ZFS root pool is created using the devices specified.

  3. If the ZFS root pool has not been determined and all keywords in the profile have been processed, and if rootdisk is set, the ZFS root pool is created using the rootdisk device.

  4. If the ZFS root pool has not been determined and the partition type is default, AI chooses the device to use for the ZFS root pool.

  5. If the ZFS root pool has not been determined and no errors have occurred during processing, AI chooses the device to use for the ZFS root pool.

  6. If the ZFS root pool is not a mirrored pool and one or more usedisk devices that were specified have not been used for a rootdisk or any device translation, those disks are added to the ZFS root pool.

Converting Software Packages

JumpStart profiles use the cluster and package keywords to install software on the system. The cluster keyword is not supported by AI. In IPS, the syntax to install an incorporation or group package is the same as the syntax to install any other package. If you simply change cluster to package in the JumpStart profile, js2ai creates the correct package installation specification in the AI manifest.


Tip - Check the package names in the AI manifests. If a package specified for installation in an AI manifest is not available from any publisher origin specified in that AI manifest, then that client installation fails.


IPS package names are different from SVR4 package names. For example, the SVR4 package SUNWpampkcs11 is renamed to library/security/pam/module/pam-pkcs11 in IPS.

Some SVR4 package names exist in IPS so that you can install the IPS package by using the SVR4 name. For example, if an AI manifest specifies installation of the SUNWpampkcs11 package, the library/security/pam/module/pam-pkcs11 package is automatically installed. In these cases, the package has been renamed.

Some SVR4 package names do not exist in IPS. In those cases, you must change the package name or delete that specification from the AI manifest. For example, the SUNWCall and SUNWCuser packages have not been renamed in IPS. If the AI manifest specifies those packages, the installation fails.

The js2ai utility uses the /usr/share/auto_install/manifest/default.xml AI manifest as a base to build a new AI manifest that includes specifications from the JumpStart profile file. This default AI manifest specifies installation of two packages that install the base operating system: entire and solaris-large-server. In addition to those two packages, you probably only need to specify installation of additional tools and applications.

Use the pkg list command on an Oracle Solaris 11 system to determine whether a particular package name can be used in your AI manifest. Be sure to use the -g option to list packages from an IPS package repository origin that is specified in the AI manifest. In this example, the AI manifest specifies the http://pkg.oracle.com/solaris11/release repository origin.

$ pkg list -af -g http://pkg.oracle.com/solaris11/release SUNWCall SUNWCuser
pkg list: no packages matching 'SUNWCuser, SUNWCall' known

This message confirms that these two packages cannot be used in this AI manifest.

$ pkg list -af -g http://pkg.oracle.com/solaris11/release SUNWpampkcs11
NAME (PUBLISHER)                                        VERSION              IFO
SUNWpampkcs11                                           0.6.0-0.133          --r

The “r” in the right-most column indicates that this package is renamed. You can use this name in the AI manifest, but you might want to use the pkg info command to determine the new name of the package.

See the “Renamed to” line in the following output. The SUNWpampkcs11 package has been renamed to library/security/pam/module/pam-pkcs11. You might want to specify library/security/pam/module/pam-pkcs11 in your AI manifest for greater compatibility with future Oracle Solaris updates.

$ pkg info -r SUNWpampkcs11
          Name: SUNWpampkcs11
       Summary: 
         State: Not installed (Renamed)
    Renamed to: library/security/pam/module/pam-pkcs11@0.6.0-0.133
                consolidation/sfw/sfw-incorporation
     Publisher: solaris
       Version: 0.6.0
 Build Release: 5.11
        Branch: 0.133
Packaging Date: Wed Oct 27 18:50:11 2010
          Size: 0.00 B
          FMRI: pkg://solaris/SUNWpampkcs11@0.6.0,5.11-0.133:20101027T185011Z
$ pkg info -r pam-pkcs11
          Name: library/security/pam/module/pam-pkcs11
       Summary: The OpenSC PKCS#11 PAM Login Tools
      Category: System/Security
         State: Not installed
     Publisher: solaris
       Version: 0.6.0
 Build Release: 5.11
        Branch: 0.173.0.0.0.0.487
Packaging Date: Sun Aug 28 00:16:46 2011
          Size: 1.92 MB
          FMRI: pkg://solaris/library/security/pam/module/pam-pkcs11@...
$ pkg list -af -g http://pkg.oracle.com/solaris/release SUNWmysql
NAME (PUBLISHER)                                        VERSION              IFO
SUNWmysql                                               4.0.24-0.142         --o

The “o” in the right-most column indicates that this package is obsolete. This package name cannot be used in an AI manifest. Use the pkg list command with wildcards or the pkg search command to determine whether the package is available under a different name that can be used.

$ pkg list -af SUNWmysql*
NAME (PUBLISHER)                                        VERSION              IFO
SUNWmysql                                               4.0.24-0.142         --o
SUNWmysql-base                                          0.5.11-0.133         --r
SUNWmysql-python                                        0.5.11-0.162         --o
SUNWmysql-python26                                      0.5.11-0.133         --r
SUNWmysql5                                              5.0.86-0.171         --o
SUNWmysql5                                              5.0.86-0.133         --r
SUNWmysql51                                             5.1.37-0.133         --r
SUNWmysql51lib                                          5.1.37-0.133         --r
SUNWmysql51test                                         5.1.37-0.133         --r
SUNWmysql5jdbc                                          5.1.5-0.171          --o
SUNWmysql5jdbc                                          5.1.5-0.133          --r
SUNWmysql5test                                          5.0.86-0.171         --o
SUNWmysql5test                                          5.0.86-0.133         --r
SUNWmysqlt                                              4.0.24-0.142         --o
$ pkg info -r SUNWmysql51
          Name: SUNWmysql51
       Summary: 
         State: Not installed (Renamed)
    Renamed to: database/mysql-51@5.1.37-0.133
                consolidation/sfw/sfw-incorporation
     Publisher: solaris
       Version: 5.1.37
 Build Release: 5.11
        Branch: 0.133
Packaging Date: Wed Oct 27 18:49:18 2010
          Size: 0.00 B
          FMRI: pkg://solaris/SUNWmysql51@5.1.37,5.11-0.133:20101027T184918Z

You might want to replace SUNWmysql with database/mysql-51 in your AI manifest.

Example Rules and Profiles Conversion Using js2ai

This section shows using a single js2ai command to convert a JumpStart rules file and all the profile files referenced by that rules file. By default, each converted profile is output to a directory named AI_profile-filename. The rule to select that profile is output to that same directory as an AI criteria file.

Sample JumpStart Rules File and Profile Files

This example uses the following rules file:

# The following rule matches only one system:

hostname sample_host    - fdisk.profile         -

# The following rule matches only one system:

hostaddress 10.6.68.127 - mirrorfilesys.profile -

# The following rule matches any system that is on the 924.222.43.0 network:

network 924.222.43.0    - rootdisk.profile      -

# The following rule matches all x86 systems:

arch i386               - mirrorpool.profile    -

The fdisk.profile file has the following content:

install_type initial_install
system_type server
root_device c1t0d0s0
usedisk c1t0d0
fdisk rootdisk solaris all
partitioning explicit
filesys rootdisk.s1 5000 swap
filesys rootdisk.s0 10000 /
cluster SUNWCall

The mirrorfilesys.profile file has the following content:

install_type initial_install
partitioning default
filesys mirror c6t0d0s0 c6t1d0s0 60048
cluster SUNWCuser

The mirrorpool.profile file has the following content:

install_type initial_install
partitioning default
pool newpool auto auto auto mirror any any
cluster SUNWCuser

The rootdisk.profile file has the following content:

install_type initial_install
partitioning explicit
filesys rootdisk.s0 15000 /
filesys rootdisk.s1 1000 swap
cluster SUNWCall

Using js2ai With the Rules File Option

Use the following command to process this rules file. In the error report, validation errors are shown as a hyphen character because validation was not done. Validation is suppressed by the -S option.

# js2ai -rS
                                Process  Unsupported  Conversion  Validation
Name                  Warnings  Errors   Items        Errors      Errors
-------------------   --------  -------  -----------  ----------  ----------
rules                        0        0            1           0           -
fdisk.profile                0        0            2           0           -
mirrorfilesys.profile        0        0            2           0           -
mirrorpool.profile           0        0            1           1           -
rootdisk.profile             0        0            1           2           -

Conversion completed. One or more failures occurred.
For errors see js2ai.log
# cat js2ai.log
rules:line 3:UNSUPPORTED: unsupported keyword: hostname
fdisk.profile:line 2:UNSUPPORTED: unsupported value for 'system_type' specified: server
fdisk.profile:line 9:UNSUPPORTED: unsupported keyword: cluster
mirrorfilesys.profile:line 3:UNSUPPORTED: unsupported mount point of 'unnamed' specified,
mount points other than '/' and 'swap' are not supported
mirrorfilesys.profile:line 4:UNSUPPORTED: unsupported keyword: cluster
mirrorpool.profile:line 3:CONVERSION: unable to convert 'any' device to physical device. Replace 'any' 
with actual device name
mirrorpool.profile:line 4:UNSUPPORTED: unsupported keyword: cluster
rootdisk.profile:line 3:CONVERSION: unable to convert 'rootdisk.s0'.  Replace'rootdisk.' with actual
device name
rootdisk.profile:line 4:CONVERSION: unable to convert 'rootdisk.s1'.  Replace'rootdisk.' with actual
device name
rootdisk.profile:line 5:UNSUPPORTED: unsupported keyword: cluster

Output is stored in directories named AI_profile-filename. AI criteria files created from the JumpStart rules are named for the position of the rule in the rules file. AI manifests are named profile-filename.arch.xml, where arch is generic, x86, or sparc.

# ls AI_*
AI_fdisk.profile:
fdisk.profile.x86.xml

AI_mirrorfilesys.profile:
criteria-2.xml      mirrorfilesys.profile.generic.xml

AI_mirrorpool.profile:
criteria-2.xml      mirrorpool.profile.generic.xml

AI_rootdisk.profile:
criteria-3.xml      rootdisk.profile.generic.xml

Equivalent AI Criteria Files

The log file reports that the JumpStart rule keyword hostname is not supported as an AI criteria keyword for selecting an AI manifest. The hostname keyword is used to specify which clients should use the fdisk.profile profile. Since hostname is not a supported keyword for selecting AI manifests, the new AI_fdisk.profile directory does not contain an AI criteria file.

You could fix this problem by changing hostname to hostaddress in the rules file.

You could also fix this problem by creating an AI criteria file that specifies MAC address or IP address to identify the hostname system. For example, the following criteria file is equivalent to the JumpStart rule hostname sample_host if 0:14:4F:20:53:97 is the MAC address of sample_host:

<?xml version="1.0" encoding="utf-8"?>
<ai_criteria_manifest>
  <ai_criteria name="mac">
    <value>0:14:4F:20:53:97</value>
  </ai_criteria>
</ai_criteria_manifest>

To find the MAC address of a system, use the dladm command as described in Oracle Solaris Administration: Network Interfaces and Network Virtualization and in the dladm(1M) man page.

For the JumpStart rule hostaddress 10.6.68.127, the js2ai utility automatically created the AI criteria file AI_mirrorfilesys.profile/criteria-2.xml, replacing the JumpStart hostaddress keyword with the AI ipv4 keyword:

<?xml version="1.0" encoding="utf-8"?>
<ai_criteria_manifest>
  <ai_criteria name="ipv4">
    <value>
      10.6.68.127
    </value>
  </ai_criteria>
</ai_criteria_manifest>

For the JumpStart rule network 924.222.43.0, the js2ai utility automatically created the AI criteria file AI_rootdisk.profile/criteria-3.xml, specifying a range of IP addresses based on the given network address:

<?xml version="1.0" encoding="utf-8"?>
<ai_criteria_manifest>
  <ai_criteria name="ipv4">
    <range>
      924.222.43.0 924.222.43.255
    </range>
  </ai_criteria>
</ai_criteria_manifest>

For the JumpStart rule arch i386, the js2ai utility automatically created the AI criteria file AI_mirrorpool.profile/criteria-4.xml, replacing the JumpStart arch keyword with the AI cpu keyword:

<?xml version="1.0" encoding="utf-8"?>
<ai_criteria_manifest>
  <ai_criteria name="cpu">
    <value>
      i386
    </value>
  </ai_criteria>
</ai_criteria_manifest>

Equivalent AI Manifest Files

The js2ai utility often creates an AI manifest for each JumpStart profile even though errors are reported. This section describes how to address some common errors so that the output AI manifests are more complete.

Fix the fdisk.profile Errors

The js2ai utility showed the following errors for the fdisk.profile JumpStart profile:

fdisk.profile:line 2:UNSUPPORTED: unsupported value for 'system_type' specified: server
fdisk.profile:line 9:UNSUPPORTED: unsupported keyword: cluster

These two lines are ignored and do not affect the output AI manifest. You could delete these two lines if you want the conversion to avoid the error messages. Then the fdisk.profile file has the following content:

install_type initial_install
root_device c1t0d0s0
usedisk c1t0d0
fdisk rootdisk solaris all
partitioning explicit
filesys rootdisk.s1 5000 swap
filesys rootdisk.s0 10000 /

Use the -p option of the js2ai utility to process just this profile.

# js2ai -p fdisk.profile
Successfully completed conversion

The output AI manifest, AI_fdisk.profile/fdisk.profile.x86.xml, has the following content in the target stanza:

<target>
  <disk>
    <disk_name name="c1t0d0" name_type="ctd"/>
    <partition action="create" name="1" part_type="191">
      <slice action="create" force="true" is_swap="true" name="1">
        <size val="5000mb"/>
      </slice>
      <slice action="create" force="true" in_vdev="rpool_vdev" in_zpool="rpool" name="0">
        <size val="10000mb"/>
      </slice>
     </partition>
  </disk>
  <logical nodump="true" noswap="false">
    <zpool is_root="true" name="rpool">
      <vdev name="rpool_vdev" redundancy="none"/>
    </zpool>
  </logical>
</target>

The software stanza is the same as in /usr/share/auto_install/manifest/default.xml because this profile does not contain any package specifications.

Fix the mirrorfilesys.profile Errors

The js2ai utility showed the following errors for the mirrorfilesys.profile JumpStart profile:

mirrorfilesys.profile:line 3:UNSUPPORTED: unsupported mount point of 'unnamed' specified,
mount points other than '/' and 'swap' are not supported
mirrorfilesys.profile:line 4:UNSUPPORTED: unsupported keyword: cluster

In a JumpStart profile file, the file_system parameter in the filesys mirror specification can be omitted. In a js2ai conversion, the file_system parameter cannot be omitted and must have one of the following two values: / or swap.

Edit the mirrorfilesys.profile file to add “/” at the end of the filesys specification and to delete the cluster line. Then the mirrorfilesys.profile file has the following content:

install_type initial_install
partitioning default
filesys mirror c6t0d0s0 c6t1d0s0 60048 /

Save the AI_mirrorfilesys.profile/criteria-2.xml file in another location. Then use the -p option of the js2ai utility to process just this profile.

# js2ai -p mirrorfilesys.profile
Successfully completed conversion

The AI_mirrorfilesys.profile directory contains two output AI manifests: mirrorfilesys.profile.sparc.xml and mirrorfilesys.profile.x86.xml. The only difference between these two AI manifests is that mirrorfilesys.profile.x86.xml contains two partition specifications. The mirrorfilesys.profile.x86.xml manifest has the following content in the target stanza:

<target>
  <disk>
    <disk_name name="c6t1d0" name_type="ctd"/>
    <partition action="create" name="1" part_type="191">
      <slice action="create" force="true" in_vdev="rpool_vdev" in_zpool="rpool" name="0">
        <size val="60048mb"/>
      </slice>
    </partition>
  </disk>
  <disk>
    <disk_name name="c6t0d0" name_type="ctd"/>
    <partition action="create" name="1" part_type="191">
      <slice action="create" force="true" in_vdev="rpool_vdev" in_zpool="rpool" name="0">
        <size val="60048mb"/>
      </slice>
    </partition>
  </disk>
  <logical nodump="true" noswap="false">
    <zpool is_root="true" name="rpool">
      <vdev name="rpool_vdev" redundancy="mirror"/>
    </zpool>
  </logical>
</target>

The software stanza is the same as in /usr/share/auto_install/manifest/default.xml because this profile does not contain any package specifications.

Fix the mirrorpool.profile Errors

The js2ai utility showed the following errors for the mirrorpool.profile JumpStart profile:

mirrorpool.profile:line 4:CONVERSION: unable to convert 'any' device to physical device.
Replace 'any' with actual device name
mirrorpool.profile:line 8:UNSUPPORTED: unsupported keyword: cluster

Use either of the following two methods to fix these errors. Both of these fixes result in exactly the same AI manifest output. See also How the any Device Is Translated.

Save the AI_mirrorpool.profile/criteria-4.xml file in another location. Then use the -p option of the js2ai utility to process just this profile.

# js2ai -p mirrorpool.profile
Successfully completed conversion

The AI_mirrorpool.profile directory contains two output AI manifests: mirrorpool.profile.sparc.xml and mirrorpool.profile.x86.xml. The only difference between these two AI manifests is that mirrorpool.profile.x86.xml contains two partition specifications. The mirrorpool.profile.x86.xml manifest has the following content in the target stanza:

<target>
  <disk>
    <disk_name name="c6t1d0" name_type="ctd"/>
    <partition action="create" name="1" part_type="191">
      <slice action="create" force="true" in_vdev="rpool_vdev" in_zpool="newpool" name="0"/>
    </partition>
  </disk>
  <disk>
    <disk_name name="c6t0d0" name_type="ctd"/>
    <partition action="create" name="1" part_type="191">
      <slice action="create" force="true" in_vdev="rpool_vdev" in_zpool="newpool" name="0"/>
    </partition>
  </disk>
  <logical nodump="false" noswap="false">
    <zpool is_root="true" name="newpool">
      <vdev name="rpool_vdev" redundancy="mirror"/>
    </zpool>
  </logical>
</target>

The software stanza is the same as in /usr/share/auto_install/manifest/default.xml because this profile does not contain any package specifications.

Fix the rootdisk.profile Errors

The js2ai utility showed the following errors for the rootdisk.profile JumpStart profile:

rootdisk.profile:line 3:CONVERSION: unable to convert 'rootdisk.s0'.
Replace'rootdisk.' with actual device name
rootdisk.profile:line 4:CONVERSION: unable to convert 'rootdisk.s1'.
Replace'rootdisk.' with actual device name
rootdisk.profile:line 5:UNSUPPORTED: unsupported keyword: cluster

Use either of the following two methods to fix these errors. Both of these fixes result in exactly the same AI manifest output.

Save the AI_rootdisk.profile/criteria-3.xml file in another location. Then use the -p option of the js2ai utility to process just this profile.

# js2ai -p rootdisk.profile
Successfully completed conversion

The AI_rootdisk.profile directory contains two output AI manifests: rootdisk.profile.sparc.xml and rootdisk.profile.x86.xml. The only difference between these two AI manifests is that rootdisk.profile.x86.xml contains a partition specification. The rootdisk.profile.x86.xml manifest has the following content in the target stanza:

<target>
  <disk>
    <disk_name name="c0t0d0" name_type="ctd"/>
    <partition action="create" name="1" part_type="191">
      <slice action="create" force="true" in_vdev="rpool_vdev" in_zpool="rpool" name="0">
        <size val="15000mb"/>
      </slice>
      <slice action="create" force="true" is_swap="true" name="1">
        <size val="1000mb"/>
      </slice>
    </partition>
  </disk>
  <logical nodump="true" noswap="false">
    <zpool is_root="true" name="rpool">
      <vdev name="rpool_vdev" redundancy="none"/>
    </zpool>
  </logical>
</target>

The software stanza is the same as in /usr/share/auto_install/manifest/default.xml because this profile does not contain any package specifications.

Displaying More Profile Conversion Information

If you want to see more information for a rule or profile conversion or AI manifest validation, specify the -v option in the js2ai command. When you specify the -v option, processing steps are displayed, and the error report displays zeroes instead of omitting that rules file or profile from the report.

# js2ai -v -p rootdisk.profile
Processing profile: rootdisk.profile
Performing conversion on: rootdisk.profile
Generating x86 manifest for: rootdisk.profile
Validating rootdisk.profile.x86.xml
Generating sparc manifest for: rootdisk.profile
Validating rootdisk.profile.sparc.xml

                                   Process  Unsupported  Conversion  Validation
Name                     Warnings  Errors   Items        Errors      Errors
----------------------   --------  -------  -----------  ----------  ----------
rootdisk.profile                0        0            0           0           0
Successfully completed conversion

Validating an Output AI Manifest

Use the -V option to validate the resulting AI manifest:

# js2ai -V ./AI_rootdisk.profile/rootdisk.profile.sparc.xml
Successfully completed conversion
# js2ai -v -V ./AI_rootdisk.profile/rootdisk.profile.sparc.xml
Validating rootdisk.profile.sparc.xml

                                   Process  Unsupported  Conversion  Validation
Name                     Warnings  Errors   Items        Errors      Errors
----------------------   --------  -------  -----------  ----------  ----------
rootdisk.profile.sparc          -        -            -           -           0
Successfully completed conversion