概要
ESXi5.5を自宅のサーバマシンにインストールしたところ、NICが対応していないためエラーを吐かれてしまいました。
そこでnicドライバーを組み込んだISOを作成することにしました。
構築環境
●ハードウェア
GIGABYTE マザーボード Intel NM70 Celeronオンボード Mini-ITX GA-C1037UN-EU
http://amzn.to/2fDuWCz
vSphere PowerCLIのインストール
以下のリンクからダウンロードし、案内に従いインストール
my.vmware.com
ドライバを組み込んだISOを作成する
実行ポリシーを変更する
$ Set-ExecutionPolicy RemoteSigned
VMwareイメージビルダーを適用
$ Add-PSSnapin VMware.ImageBuilder
ドライバを適用されるISOを定義する
$ Add-EsxSoftwareDepot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
$ New-EsxImageProfile -CloneProfile "ESXi-5.5.0-20140902001-standard" -name "ESXi-5.5.0-20140902001-custom" -vendor "withNICs"
ドライバを適用させる
$ Get-EsxSoftwarePackage
$ Add-EsxSoftwarePackage -ImageProfile "ESXi-5.5.0-20140902001-Custom" -SoftwarePackage "net-r8168"
$ Add-EsxSoftwarePackage -ImageProfile "ESXi-5.5.0-0140902001-Custom" -SoftwarePackage "net-r8169"
$ Add-EsxSoftwarePackage -ImageProfile "ESXi-5.5.0-20140902001-Custom" -SoftwarePackage "net-s2io"
$ Add-EsxSoftwarePackage -ImageProfile "ESXi-5.5.0-20140902001-Custom" -SoftwarePackage "net-sky2"
$ Add-EsxSoftwarePackage -ImageProfile "ESXi-5.5.0-20140902001-Custom" -SoftwarePackage "net-vmxnet3"
ISOファイルとして出力
$ Export-ESXImageProfile -ImageProfile "ESXi-5.5.0-20140902001-Custom" -ExportToISO -filepath C:\ESXi-5.5.0-20140902001-Custom.iso