非大域ゾーンのインストール用のこの AI マニフェストは、大域ゾーンのインストール用の AI マニフェストに似ています。AI マニフェストの要素と属性については、ai_manifest(4) のマニュアルページを参照してください。
非大域ゾーンの AI マニフェスト内で次の要素または属性は使用しないでください。
ai_instance 要素の auto_reboot 属性
ai_instance 要素の http_proxy 属性
target 要素の disk 子要素
logical 要素の noswap 属性
logical 要素の nodump 属性
configuration 要素
非大域ゾーンの AI マニフェストでは、target 要素の logical 子要素のみを使用できます。logical 要素には 1 つの zpool 子要素のみ指定できます。
zpool 要素では、非大域ゾーンの AI マニフェストの filesystem および be 子要素のみを使用できます。
software 要素の type 属性でサポートされている値は IPS のみで、これはデフォルト値です。
使用例 12-1 ゾーンのデフォルトの AI マニフェスト次のファイルは、非大域ゾーンのデフォルトの AI マニフェストを示しています。このマニフェストは、カスタム AI マニフェストをゾーンに指定しない場合に使用されます。このマニフェストは、/usr/share/auto_install/manifest/zone_default.xml で入手できます。
target セクションは、ゾーンの ZFS ファイルシステムを定義します。destination セクションは、インストールするロケールを指定します。software_data セクションは、solaris-small-server パッケージのインストールを指定します。solaris-small-server パッケージは、インストールするほとんどの非大域ゾーンで推奨されるツールとデバイスドライバのグループパッケージです。solaris-small-server グループパッケージに含まれるパッケージの完全なリストについては、Oracle Solaris 11.2 ソフトウェアの追加と更新 のグループパッケージ内のすべてのインストール可能なパッケージの一覧表示で説明されているように、pkg contents コマンドを使用します。
パッケージソースが指定されていないことに注意してください。システムリポジトリについては、pkg.sysrepo(1M) を参照してください。
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. --> <!DOCTYPE auto_install SYSTEM "file:///usr/share/install/ai.dtd.1"> <auto_install> <ai_instance name="zone_default"> <target> <logical> <zpool name="rpool"> <!-- Subsequent <filesystem> entries instruct an installer to create following ZFS datasets: <root_pool>/export (mounted on /export) <root_pool>/export/home (mounted on /export/home) Those datasets are part of standard environment and should be always created. In rare cases, if there is a need to deploy a zone without these datasets, either comment out or remove <filesystem> entries. In such scenario, it has to be also assured that in case of non-interactive post-install configuration, creation of initial user account is disabled in related system configuration profile. Otherwise the installed zone would fail to boot. --> <filesystem name="export" mountpoint="/export"/> <filesystem name="export/home"/> <be name="solaris"> <options> <option name="compression" value="on"/> </options> </be> </zpool> </logical> </target> <software type="IPS"> <destination> <image> <!-- Specify locales to install --> <facet set="false">facet.locale.*</facet> <facet set="true">facet.locale.de</facet> <facet set="true">facet.locale.de_DE</facet> <facet set="true">facet.locale.en</facet> <facet set="true">facet.locale.en_US</facet> <facet set="true">facet.locale.es</facet> <facet set="true">facet.locale.es_ES</facet> <facet set="true">facet.locale.fr</facet> <facet set="true">facet.locale.fr_FR</facet> <facet set="true">facet.locale.it</facet> <facet set="true">facet.locale.it_IT</facet> <facet set="true">facet.locale.ja</facet> <facet set="true">facet.locale.ja_*</facet> <facet set="true">facet.locale.ko</facet> <facet set="true">facet.locale.ko_*</facet> <facet set="true">facet.locale.pt</facet> <facet set="true">facet.locale.pt_BR</facet> <facet set="true">facet.locale.zh</facet> <facet set="true">facet.locale.zh_CN</facet> <facet set="true">facet.locale.zh_TW</facet> </image> </destination> <software_data action="install"> <name>pkg:/group/system/solaris-small-server</name> </software_data> </software> </ai_instance> </auto_install>