補覺鳴詩

學海無涯


  • 首頁

  • archive

  • 關於我

  • 搜尋

替 ESXi 安裝驅動

時間: 2018-11-04   |   分類: VMware   | 字數: 335 字 | 閱讀: 1分鐘 | 閱讀次數:

以系統管理員身分執行 powershell
Install-Module -Name VMware.PowerCLI
Set-ExecutionPolicy -ExecutionPolicy Bypass

下載 ESXi-Customizer-PS

https://www.v-front.de/p/esxi-customizer-ps.html#download

腳本說明
.ESXi-Customizer-PS-v2.6.0.ps1 -help

This is ESXi-Customizer-PS Version 2.6.0 (visit https://ESXi-Customizer-PS.v-front.de for more information!)

Usage:
ESXi-Customizer-PS [-help] | [-izip [-update]] [-sip] [-v67|-v65|-v60|-v55|-v51|-v50]
[-ozip] [-pkgDir

] [-outDir ] [-vft] [-dpt depot1[,…]]
[-load vib1[,…]] [-remove vib1[,…]] [-log ] [-ipname ]
[-ipdesc ] [-ipvendor ] [-nsc] [-test]
Optional parameters:

-help : display this help
-izip : use the VMware Offline bundle as input instead of the Online depot
-update : only with -izip, updates a local bundle with an ESXi patch from the VMware Online depot,
combine this with the matching ESXi version selection switch
-pkgDir

: local directory of Offline bundles and/or VIB files to add (if any, no default)
-ozip : output an Offline bundle instead of an installation ISO
-outDir : directory to store the customized ISO or Offline bundle (the default is the
script directory. If specified the log file will also be moved here.)
-vft : connect the V-Front Online depot
-dpt depot1[,…] : connect additional Online depots by URL or local Offline bundles by file name
-load vib1[,…] : load additional packages from connected depots or Offline bundles
-remove vib1[,…] : remove named VIB packages from the custom Imageprofile
-sip : select an Imageprofile from the current list
(default = auto-select latest available standard profile)
-v67 | -v65 | -v60 |
-v55 | -v51 | -v50 : Use only ESXi 6.7/6.5/6.0/5.5/5.1/5.0 Imageprofiles as input, ignore other versions
-nsc : use -NoSignatureCheck with export
-log : Use custom log file
-ipname
-ipdesc
-ipvendor : provide a name, description and/or vendor for the customized
Imageprofile (the default is derived from the cloned input Imageprofile)
-test : skip package download and image build (for testing)
 

使用指令線上產生 ISO

 

輸出 Offline bundle
.\\ESXi-Customizer-PS-v2.6.0.ps1 -v67 -ozip

使用 Offline bundle  並增加驅動 
.\\ESXi-Customizer-PS-v2.6.0.ps1 -izip .\\ESXi-6.7.0-20191204001-standard.zip  -vft -load sata-xahci,net55-r8168 -outDir  d:\\share

 

 

參考
https://www.v-front.de/p/esxi-customizer-ps.html

comments powered by Disqus >
Owan

Owan

愛貓如癡

131 日誌
29 分類
37 標籤
GitHub
© 2010 - 2022 補覺鳴詩
Powered by - Hugo v0.96.0 / Theme by - NexT
0%