LoginSignup
2
4

More than 3 years have passed since last update.

10世代NUCにESXiをインストール

Last updated at Posted at 2020-05-29

はじめに

10世代のNUCにESXiのインストールを試みたところ、標準のイメージでは "No network adapters" と出てしまいインストールできませんでした。Intel I219-V対応のドライバ(VIB)を組み込んだカスタムイメージを作る手順を残しておきます。

環境

BXNUC10I5FNK
VMware vSphere Hypervisor(ESXi) 6.7U3

準備

VMware Power CLI のセットアップ

管理者権限でpowershellを立ち上げ、インストールを行います。

PS C:\Users\hoge> Install-Module -Name VMware.PowerCLI -Scope CurrentUser

信頼されていないリポジトリ
信頼されていないリポジトリからモジュールをインストールしようとしています。このリポジトリを信頼する場合は、Set-PSReposit
ory コマンドレットを実行して、リポジトリの InstallationPolicy の値を変更してください。'PSGallery'
からモジュールをインストールしますか?
[Y] はい(Y)  [A] すべて続行(A)  [N] いいえ(N)  [L] すべて無視(L)  [S] 中断(S)  [?] ヘルプ (既定値は "N"): A

実行ポリシーを変更して、確認のためバージョン情報を取得してみます。

PS C:\Users\hoge> Set-ExecutionPolicy RemoteSigned
PS C:\Users\hoge> Get-ExecutionPolicy
RemoteSigned

PS C:\Users\hoge> Get-PowerCLIVersion
警告: Please consider joining the VMware Customer Experience Improvement Program, so you can help us make PowerCLI a
better product. You can join using the following command:

Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $true

VMware's Customer Experience Improvement Program ("CEIP") provides VMware with information that enables VMware to
improve its products and services, to fix problems, and to advise you on how best to deploy and use our products.  As
part of the CEIP, VMware collects technical information about your organization痴 use of VMware products and services
on a regular basis in association with your organization痴 VMware license key(s).  This information does not personally
 identify any individual.

For more details: type "help about_ceip" to see the related help article.

To disable this warning and set your preference use the following command and restart PowerShell:
Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $true or $false.
警告: The cmdlet "Get-PowerCLIVersion" is deprecated. Please use the 'Get-Module' cmdlet instead.

PowerCLI Version
----------------
   VMware PowerCLI 12.0.0 build 15947286
---------------
Component Versions
---------------
   VMware Common PowerCLI Component 12.0 build 15939652
   VMware Cis Core PowerCLI Component PowerCLI Component 12.0 build 15939657
   VMware VimAutomation VICore Commands PowerCLI Component PowerCLI Component 12.0 build 15939655

なにやら長い警告が出ていますね。
私は警告を抑制するために次のコマンドを叩いています。(警告文の中にガイドがあります。)

PS C:\Users\hoge> Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $true or $false.

Offline Bundleの入手

6.7 update 3のOffline Bundleを次のURLより入手します。ユーザ登録が必要です。
https://my.vmware.com/jp/group/vmware/details?productId=742&rPId=22641&downloadGroup=ESXI67U3

ドライバーの入手

下記のURLから取得します。
https://download3.vmware.com/software/vmw-tools/ESXi670-NE1000-32543355-offline_bundle-15486963.zip

本編

それではカスタムイメージを作成します。
コマンド詳細についてはVMware社のドキュメントを参照願います。
なお、ダウンロードしたOffline Bundleとドライバーを C:\Users\hoge\Desktop\esxi-cust に配置してあります。

PS C:\Users\hoge\Desktop\esxi-cust> dir


    ディレクトリ: C:\Users\hoge\Desktop\esxi-cust


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       2020/05/29     10:58         186511 ESXi670-NE1000-32543355-offline_bundle-15486963.zip
-a----       2020/05/29     11:21      454599717 update-from-esxi6.7-6.7_update03.zip

ESXi6.7U3のオフラインバンドル読み込み

PS C:\Users\hoge\Desktop\esxi-cust> Add-EsxSoftwareDepot .\update-from-esxi6.7-6.7_update03.zip

Depot Url
---------
zip:C:\Users\hoge\Desktop\esxi-cust\update-from-esxi6.7-6.7_update03.zip?index.xml

PS C:\Users\hoge\Desktop\esxi-cust> Get-EsxImageProfile | ft -AutoSize

Name                             Vendor       Last Modified      Acceptance Level
----                             ------       -------------      ----------------
ESXi-6.7.0-20190801001s-no-tools VMware, Inc. 2019/08/08 9:57:28 PartnerSupported
ESXi-6.7.0-20190801001s-standard VMware, Inc. 2019/08/08 9:57:28 PartnerSupported
ESXi-6.7.0-20190802001-no-tools  VMware, Inc. 2019/08/08 9:57:28 PartnerSupported
ESXi-6.7.0-20190802001-standard  VMware, Inc. 2019/08/08 9:57:28 PartnerSupported

ドライバのオフラインバンドル読み込み

PS C:\Users\hoge\Desktop\esxi-cust> Add-EsxSoftwareDepot .\ESXi670-NE1000-32543355-offline_bundle-15486963.zip

zip:C:\Users\hoge\Desktop\esxi-cust\ESXi670-NE1000-32543355-offline_bundle-15486963.zip?index.xml

ESXi-6.7.0-20190802001-standard をもとに新しいイメージプロファイルを作ります。名前はESXi-6.7.0-20190802001-standard-with-ne1000としました。

PS C:\Users\hoge\Desktop\esxi-cust> New-EsxImageProfile -CloneProfile ESXi-6.7.0-20190802001-standard -Vendor hoge -Name ESXi-6.7.0-20190802001-standard-with-ne1000 | ft -AutoSize

Name                                        Vendor Last Modified      Acceptance Level
----                                        ------ -------------      ----------------
ESXi-6.7.0-20190802001-standard-with-ne1000 hoge   2019/08/08 9:57:28 PartnerSupported

ドライバ追加前の状態を確認して、追加します。

PS C:\Users\hoge\Desktop\esxi-cust> Get-EsxImageProfile -Name ESXi-6.7.0-20190802001-standard-with-ne1000 | select -ExpandProperty VibList | where {$_.Name -eq "ne1000"} | ft -AutoSize

Name   Version                      Vendor Creation Date
----   -------                      ------ -------------
ne1000 0.8.4-2vmw.670.2.48.13006603 VMW    2019/03/26 20:11:51


PS C:\Users\hoge\Desktop\esxi-cust> Add-EsxSoftwarePackage -ImageProfile ESXi-6.7.0-20190802001-standard-with-ne1000 -SoftwarePackage ne1000

Name                           Vendor          Last Modified   Acceptance Level
----                           ------          -------------   ----------------
ESXi-6.7.0-20190802001-stan... hoge            2020/05/29 1... PartnerSupported


PS C:\Users\hoge\Desktop\esxi-cust> Get-EsxImageProfile -Name ESXi-6.7.0-20190802001-standard-with-ne1000 | select -ExpandProperty VibList | where {$_.Name -eq "ne1000"} | ft -AutoSize

Name   Version                      Vendor Creation Date
----   -------                      ------ -------------
ne1000 0.8.4-3vmw.670.3.99.32543355 VMW    2020/01/17 10:12:45

ISOファイルに書き出します。

PS C:\Users\hoge\Desktop\esxi-cust> Export-EsxImageProfile -ImageProfile ESXi-6.7.0-20190802001-standard-with-ne1000 -ExportToIso -FilePath ./ESXi-6.7.0-20190802001-standard-with-ne1000.iso
PS C:\Users\hoge\Desktop\esxi-cust> dir


    ディレクトリ: C:\Users\hoge\Desktop\esxi-cust


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       2020/05/29     18:03      329957376 ESXi-6.7.0-20190802001-standard-with-ne1000.iso
-a----       2020/05/29     10:58         186511 ESXi670-NE1000-32543355-offline_bundle-15486963.zip
-a----       2020/05/29     11:21      454599717 update-from-esxi6.7-6.7_update03.zip

あとは光学メディアに書き込むなり、ブータブルなUSBメモリを作るなりして通常のインストールです。

2
4
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
4