次の例では、MAC アドレス 0:e0:81:5d:bf:e0 を持つ x86 クライアントを solaris11_2-i386 インストールサービスに関連付けています。このコマンドによって出力される DHCP 構成を DHCP サーバーに追加する必要があります。この DHCP 構成が行われない場合、クライアントは solaris11_2-i386 インストールサービスをブートできません。
# installadm create-client -n solaris11_2-i386 -e 0:e0:81:5d:bf:e0
No local DHCP configuration found. If not already configured, the
following should be added to the DHCP configuration:
Boot server IP : 10.80.239.5
Boot file(s) :
bios clients (arch 00:00): 0100E0815DBFE0.bios
uefi clients (arch 00:07): 0100E0815DBFE0.uefi次の例は、installadm がこのクライアントの PXE ブートエントリを設定する方法を示しています。
host 00E0815DBFE0 {
hardware ethernet 00:E0:81:5D:BF:E0;
if option arch = 00:00 {
filename "0100E0815DBFE0.bios";
} else if option arch = 00:07 {
filename "0100E0815DBFE0.uefi";
}
}この installadm create-client コマンドの次の結果が /etc/netboot ディレクトリに表示されます。
lrwxrwxrwx 1 root root 21 May 6 10:32 0100E0815DBFE0 -> ./0100E0815DBFE0.bios lrwxrwxrwx 1 root root 44 May 6 10:32 0100E0815DBFE0.bios -> ./solaris11_2-i386/boot/grub/pxegrub2 lrwxrwxrwx 1 root root 51 May 6 10:32 17:49 0100E0815DBFE0.uefi -> ./solaris11_2-i386/boot/grub/grub2netx64.efi -rw-r--r-- 1 root root 1744 May 6 10:32 17:49 grub.cfg.0100E0815DBFE0 -rw-r--r-- 1 root root 1204 May 6 10:32 17:49 menu.conf.0100E0815DBFE0