12月
        30
      買ったマザーのオンボード NIC は ESXi 7 の inbox driver ではサポートされず、Fling コミュニティドライバでサポートされているので、ドライバを組み込んだカスタムインストーラ iso イメージを作ります。 Windows での手順です。
- まず、 PowerCLI をインストールします。ググって見つかるイメージ作成手順では PowerShell の Install-Moduleコマンド(っていうの?)で直接インストールしているものが多いようですが、自分の環境ではダウンロードが猛烈に遅いのか全然完了しなかったので、VMware のオンラインドキュメントに書いてあるオフラインでインストールする手順に従います。- まず、ダウンロードページから zip ファイルをダウンロードします。この blog 記事を書いている時点での最新版は VMware-PowerCLI-12.4.1-18769701.zip でした。
- 自分の ドキュメント ディレクトリ(普通は C:\Users\<ユーザー名>\Documents)の下にWindowsPowerShell\Modulesディレクトリを作り、その中に zip ファイルを展開します。(PowerShell で$env:PSModulePathと打って出てくるパスならどこでもいい)
- Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Processとして、実行ポリシーを緩めます。この緩めた状態は当該 PowerShell プロセスのみに対して有効です。
- PowerShell 上で、 Import-Module VMware.PowerCLIおよびImport-Module VMware.ImageBuilderとして、両者をインストールします。
 
- ESXi 自体とNICドライバのパッケージをダウンロードします。
- パッチダウンロードページで ESXi の適切なバージョンを選択して検索し、 depot の zip ファイルをダウンロードします。
- 前述のドライバのページから zip ファイルをダウンロードします。
 
- iso イメージを作ります。
- ESXi とドライバをダウンロードしたディレクトリに cdし、アセットに追加します。
 Add-EsxSoftwareDepot VMware-ESXi-7.0U2d-18538813-depot.zip Add-EsxSoftwareDepot Net-Community-Driver_1.2.2.0-1vmw.700.1.0.15843807_18835109.zip 
- Get-EsxImageProfileすると、depot に含まれているイメージプロファイルが一覧されます。
 - PS C:\Users\umezawa\Downloads> Get-EsxImageProfile Name Vendor Last Modified Acceptance Level ---- ------ ------------- ---------------- ESXi-7.0U2d-18538813-no-tools VMware, Inc. 2021/08/27 1... PartnerSupported ESXi-7.0U2d-18538813-standard VMware, Inc. 2021/09/14 0... PartnerSupported - -standardで終わるものをメモっておきます。
- 実際にイメージを作っていきます。
 $origProfile= "ESXi-7.0U2d-18538813-standard" $customProfile= "ESXi-7.0u2d-with-net-community-driver" $customVendor = "YourName" $customIso = "ESXi-7.0u2d-with-net-community-driver.iso" $driverVib= Get-EsxSoftwarePackage | where {$_.name -eq "net-community"} New-EsxImageProfile -CloneProfile $origProfile -Name $customProfile -Vendor $customVendor Add-EsxSoftwarePackage -ImageProfile $customProfile -SoftwarePackage $driverVib Export-EsxImageProfile -ImageProfile $customProfile -ExportToIso -FilePath $customIso
 
- ESXi とドライバをダウンロードしたディレクトリに 
あとは普通にインストールできます。
no comment untill now