ESXi6.7 のカスタムimageの作成
ESXiにReaktek 8111H搭載のEsxiのカスタムインストールディスクを作ってみる。
いろいろ説明されているので、そちらをみてから。
https://tech-mmmm.blogspot.com/2018/05/realteknicesxi-67.html
http://d.hatena.ne.jp/ozuma/20171203/1512296181
・PowerCLI 6.5
https://my.vmware.com/jp/group/vmware/details?downloadGroup=PCLI650R1&productId=614
をダウンロード、ダブルクリックでインストール
・ ESXi-Customizer-PS 2.6
https://www.v-front.de/p/esxi-customizer-ps.html
をダウンロード、適当なディレクトリに保存
・組み込むドライバーをダウンロード
https://vibsdepot.v-front.de/wiki/index.php/List_of_currently_available_ESXi_packages
から必要そうなものをダウンロードする。8111Hなので以下をクリック。
net55-r8168: Updated driver for Realtek 8168/8111/8411/8118 based NICs
移動後、一番下のVIB File of version 8.045aをダウンロード。 ESXi-Customizer-PS 2.6と同じフォルダーに保存。
Powershellを管理者モードで起動。
PowerShellの実行ポリシーを変更
PS C:\> Set-ExecutionPolicy Unrestricted
次にパスを追加(必要ないかも)
PS C:\> $p = [Environment]::GetEnvironmentVariable("PSModulePath")
PS C:\> $p += ";C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Modules\"
PS C:\> [Environment]::SetEnvironmentVariable("PSModulePath",$p)
ディレクトリに移動して
PS C:\> .\ESXi-Customizer-PS-v2.6.0.ps1 -v67 -pkgDir D:\ESXi-Customizer
を実行、ディレクトリにisoができる
D:\ESXi-Customizer は先に作っておかないとルートディレクトリにイメージが作成される
PS D:\tmp\esxi> .\ESXi-Customizer-PS-v2.6.0.ps1 -v67 -pkgDir D:\tmp\esxi
This is ESXi-Customizer-PS Version 2.6.0 (visit https://ESXi-Customizer-PS.v-front.de for more information!)
(Call with -help for instructions)
Logging to R:\tmp\AppData\Local\Temp\ESXi-Customizer-PS-4248.log ...
Running with PowerShell version 5.1 and VMware PowerCLI version 6.5.0.2604913
Connecting the VMware ESXi Online depot ... [OK]
Getting Imageprofiles, please wait ... [OK]
Using Imageprofile ESXi-6.7.0-20180804001-standard ...
(dated 08/09/2018 01:44:03, AcceptanceLevel: PartnerSupported,
For more information, see http://kb.vmware.com/kb/56535.)
Loading Offline bundles and VIB files from D:\tmp\esxi ...
Loading D:\tmp\esxi\net55-r8168-8.045a-napi.x86_64.vib ... [OK]
Add VIB net55-r8168 8.045a-napi [New AcceptanceLevel: CommunitySupported] [OK, added]
Exporting the Imageprofile to 'D:\tmp\esxi\ESXi-6.7.0-20180804001-standard-customized.iso'. Please be patient ...
All done.
いろいろ説明されているので、そちらをみてから。
https://tech-mmmm.blogspot.com/2018/05/realteknicesxi-67.html
http://d.hatena.ne.jp/ozuma/20171203/1512296181
・PowerCLI 6.5
https://my.vmware.com/jp/group/vmware/details?downloadGroup=PCLI650R1&productId=614
をダウンロード、ダブルクリックでインストール
・ ESXi-Customizer-PS 2.6
https://www.v-front.de/p/esxi-customizer-ps.html
をダウンロード、適当なディレクトリに保存
・組み込むドライバーをダウンロード
https://vibsdepot.v-front.de/wiki/index.php/List_of_currently_available_ESXi_packages
から必要そうなものをダウンロードする。8111Hなので以下をクリック。
net55-r8168: Updated driver for Realtek 8168/8111/8411/8118 based NICs
移動後、一番下のVIB File of version 8.045aをダウンロード。 ESXi-Customizer-PS 2.6と同じフォルダーに保存。
Powershellを管理者モードで起動。
PowerShellの実行ポリシーを変更
PS C:\> Set-ExecutionPolicy Unrestricted
次にパスを追加(必要ないかも)
PS C:\> $p = [Environment]::GetEnvironmentVariable("PSModulePath")
PS C:\> $p += ";C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Modules\"
PS C:\> [Environment]::SetEnvironmentVariable("PSModulePath",$p)
ディレクトリに移動して
PS C:\> .\ESXi-Customizer-PS-v2.6.0.ps1 -v67 -pkgDir D:\ESXi-Customizer
を実行、ディレクトリにisoができる
D:\ESXi-Customizer は先に作っておかないとルートディレクトリにイメージが作成される
PS D:\tmp\esxi> .\ESXi-Customizer-PS-v2.6.0.ps1 -v67 -pkgDir D:\tmp\esxi
This is ESXi-Customizer-PS Version 2.6.0 (visit https://ESXi-Customizer-PS.v-front.de for more information!)
(Call with -help for instructions)
Logging to R:\tmp\AppData\Local\Temp\ESXi-Customizer-PS-4248.log ...
Running with PowerShell version 5.1 and VMware PowerCLI version 6.5.0.2604913
Connecting the VMware ESXi Online depot ... [OK]
Getting Imageprofiles, please wait ... [OK]
Using Imageprofile ESXi-6.7.0-20180804001-standard ...
(dated 08/09/2018 01:44:03, AcceptanceLevel: PartnerSupported,
For more information, see http://kb.vmware.com/kb/56535.)
Loading Offline bundles and VIB files from D:\tmp\esxi ...
Loading D:\tmp\esxi\net55-r8168-8.045a-napi.x86_64.vib ... [OK]
Add VIB net55-r8168 8.045a-napi [New AcceptanceLevel: CommunitySupported] [OK, added]
Exporting the Imageprofile to 'D:\tmp\esxi\ESXi-6.7.0-20180804001-standard-customized.iso'. Please be patient ...
All done.
コメント
コメントを投稿