Code Monkey home page Code Monkey logo

esxi-customizer-ps's People

Contributors

themiron avatar vfrontde avatar virtualex-itv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esxi-customizer-ps's Issues

Unable to open VIB archive in streaming mode

Hi,

I have installed PowerCLI 13 and wanted to create the ESXi8 ISO. When adding a VIB for ESXi8 it first says it is "ok". And then at the end it gives the error message:
('vib20/qlnativefc/MVL_bootbank_qlnativefc_5.4.80.0-1OEM.800.1.0.20143090.vib', "Unable to open VIB archive in streaming mode: '_SharedFile' object has no attribute 'writing'")

Any Ideas?

No-Communication on additional NIC slots

Hey VFrontDe,
I've additional NICs model Realtek 8168 on my home server,
Cannot recieve any communication with net55 driver.
Only succeed to communicate my network with motherboard NIC.
All NICS are the same model with no diffrences.
Checked the communication by adding all of them as a management interfaces.
Even tried to make seperate vmk NIC with all the other additional NICs and connect them to another network and still have no communication, recieving this output from ESXI 6.7:
sendto() failed (host is down).
My ESXI Version is:
VMware ESXi 6.7.0 Update 3
I've attached a screenshot of all of my NICs:
Nics
Have you got any suggestions/advices how to solve it?
P.S
I've used ESXi-Customizer-PS to install ESXI 6.7 with net55 driver ( This is the reason i opened the issue subject here) not sure if it installed correctly since only 1 NIC is productive.

Add VIB net55-r8168 FAILED

I issiue below command
.\ESXi-Customizer-PS.ps1 -vft -load net55-r8168

it downloads "ESXi-8.0sb-21203431-standard" automatically and then fails to add network driver

ERROR:
Add VIB net55-r8168 8.045a-napi [New AcceptanceLevel: CommunitySupported] [FAILED, invalid package?]

Purple screen on ESXi

Hi,

I tried your script to create a custom image from the standard VMware one, with the latest update, but when it starts it goes to purple screen :(
I also tried again with other previous versions but the same thing--still purple screen. I preface that the host, with a standard ISO, works perfectly.

PS C:\Downloads> .\ESXi-Customizer-PS.ps1 -izip .\VMware-ESXi-7.0U3i-20842708-depot.zip

This is ESXi-Customizer-PS Version 2.9.0 (visit https://ESXi-Customizer-PS.v-front.de for more information!)
(Call with -help for instructions)

Logging to C:\Users\Kappa\AppData\Local\Temp\ESXi-Customizer-PS-41428.log ...

Running with PowerShell version 7.3 and VMware PowerCLI version 13.1.0 build 21624340

Adding base Offline bundle .\VMware-ESXi-7.0U3i-20842708-depot.zip ... [OK]

Getting Imageprofiles, please wait ... [OK]

Using Imageprofile ESXi-7.0U3si-20841705-standard ...
(Dated 12/08/2022 00:00:00, AcceptanceLevel: PartnerSupported,
The general availability release of VMware ESXi Server 7.0U3si brings whole new levels of virtualization performance to datacenters and enterprises.)

Exporting the Imageprofile to 'C:\Downloads\ESXi-7.0U3si-20841705-standard.iso'. Please be patient ...

All done.

photo_2023-05-10_20-20-39

"[WinError 10054] An existing connection was forcibly closed by the remote host"

Hey folks,

I know there already exists Issue #15 but the communication on this is restricted to collaborators and I wanted to add some information. (Also, it still has the "wontfix" label, I'm not sure if this is still correct because it was added before the issue got reopened.)

I ran into basically the same issue today while trying to create a basic ESXi 7.0 image (without any parameters).

I've tried both the [Net.ServicePointManager]::SecurityProtocol, aswell as the Registry modifications (SchUseStrongCrypto - which, if I understand this correctly, basically does the opposite as setting the SecurityProtocol to SSL3)

Neither of these options worked for me.

The workaround mentioned by @crapsterNET (using the -ozip and then izip parameters) worked for me, but it seems this shouldn't have to be necessary.
If this is the only reliable workaround, I would suggest implementing this in the script itself (basically combine these steps using a temporary location or something like that). That way the user doesn't need to execute these steps by himself and instead the script just handles this.

PS 2.8.1 "The read operation timed out"

.\ESXi-Customizer-PS.ps1 -v67 -vft -load net55-r8168,net-igb,sata-xahci

Same issue with .\ESXi-Customizer-PS.ps1 -v67 -vft -load net55-r8168,net-igb,sata-xahci

Running with PowerShell version 5.1 and VMware PowerCLI version .. build

Connecting the VMware ESXi Software depot ...
[OK]

Connecting the V-Front Online depot ...
[OK]

Getting Imageprofiles, please wait ...
[OK]

Using Imageprofile ESXi-6.7.0-20201104001-standard ...
(Dated 11/11/2020 12:40:19, AcceptanceLevel: PartnerSupported,
Updates ESXi 6.7 Image Profile-ESXi-6.7.0-20201104001-standard)

Load additional VIBs from Online depots ...
Add VIB net55-r8168 8.045a-napi
[New AcceptanceLevel: CommunitySupported]
[OK, added]
Add VIB net-igb 5.3.2-99
[OK, replaced 5.0.5.1.1-5vmw.670.0.0.8169922]
Add VIB sata-xahci 1.42-1
[OK, added]

Exporting the Imageprofile to 'C:\Users\Will\Desktop\Esxi 6.7\ESXi-6.7.0-20201104001-standard-customized.iso'. Please be patient ...

PS>TerminatingError(Export-EsxImageProfile): "The read operation timed out"

TerminatingError(Export-EsxImageProfile): "The read operation timed out"

An unexpected error occurred:
The read operation timed out

DECRYPTION_FAILED_OR_BAD_RECORD_MAC

Hi,

I try to run:
.\ESXi-Customizer-PS-v2.8.2.ps1 -sip –ozip
and choose 255 profile.

Result:

Using Imageprofile ESXi-6.0.0-20170604001-standard ...
(Dated 02/07/2020 11:36:33, AcceptanceLevel: PartnerSupported,
For more information, see http://kb.vmware.com/kb/2149958.)

Exporting the Imageprofile to 'F:\ESX\ESXi-6.0.0-20170604001-standard.zip'. Please be patient ...

PS>TerminatingError(Export-EsxImageProfile): "Unable to download from any URLs: ('https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light_6.0.0-3.66.5485776.vib', 'C:\Users\Mikele\AppData\Local\Temp\tmp6_m0yvyp\vib20\tools-light\VMware_locker_tools-light_6.0.0-3.66.5485776.vib', '[SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2570)')"

TerminatingError(Export-EsxImageProfile): "Unable to download from any URLs: ('https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light_6.0.0-3.66.5485776.vib', 'C:\Users\Mikele\AppData\Local\Temp\tmp6_m0yvyp\vib20\tools-light\VMware_locker_tools-light_6.0.0-3.66.5485776.vib', '[SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2570)')"

An unexpected error occurred:
Unable to download from any URLs: ('https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light_6.0.0-3.66.5485776.vib', 'C:\Users\Mikele\AppData\Local\Temp\tmp6_m0yvyp\vib20\tools-light\VMware_locker_tools-light_6.0.0-3.66.5485776.vib', '[SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2570)')

Where is my problem?

Script freezes on 'Connecting the VMware ESXi Software depot'

Hi,
this is a note for others who might have the same issue and how it can be solved.
ESXi-Customizer v2.8.1 freezes on line 250 if ($basedepot = Add-EsxSoftwaredepot $vmwdepotURL) {. The issue has been reproducible on W10 with PowerCLI 12.5.0.19195797.
The only solution found was to completely remove PowerCLI and to reinstall it with install-module -name VMware.PowerCLI -force -SkipPublisherCheck. Actually it installs PowerCLI 12.6.0.19610541.
The sequence option .\ESXi-Customizer-PS-v.28.1.ps1 -ozip avoids #15.

Feature Request - kernel options

is it possible to add kernel options to the creation of iso/bundle. PS New-IsoImage has this currently and I use it to create max size OSDATA partition to handle very large dump files on larger vSAN hosts...

New-IsoImage -Depot $onlineDepot -SoftwareSpec 'c:\vmware\spec.json' -KernelOptions "systemMediaSize=max" -Destination 'c:\vmware\newiso.iso

This is similar to previous request for .ks files and modification of boot.cfg

Problems using ESXi-Customizer-PS-v2.6.0

Sir, I installed the powershell script and run it, but i get following error

PS>TerminatingError(Export-EsxImageProfile): "[WinError 10054] An existing connection was forcibly closed by the remote host"

TerminatingError(Export-EsxImageProfile): "[WinError 10054] An existing connection was forcibly
An unexpected error occured:
[WinError 10054] An existing connection was forcibly closed by the remote host.

**I tried searching on internet but could not get a answer.I want to inject net55-rt8168 driver to esxi 6.5.
Windows 10 (1809, Education version, 64 bit)
Attaching the log files below for both cases, Please help.
ESXi-Customizer-PS-5592.log
ESXi-Customizer-PS-2924.log

**

change/force the acceptance level to CommunitySupported

How to change/ force the acceptance level to CommunitySupported, when using the ESXi-Customizer-PS script?

I want to create an ESXi 7 custom image with support for Intel I219 / I225 network adapter.

a) I downloaded the Community Networking Driver for ESXi.
b) Ran the command .\ESXi-Customizer-PS-v2.8.1.ps1 -pkgDir C:\scripts\driver -ozip
c) ESXi 7 custom image with the Community Networking Driver was created, but the acceptance level stayed PartnerSupported.

Or, is it possible to add the Community Networking Driver for ESXi to the V-Front Online Depot?
The ESXi-Customizer-PS script then automatically changes the acceptance level to CommunitySupported.

Could not find a trusted signer.

Hello !

I can't download the vmware iso file.

This is the error :
Could not find a trusted signer.

In the log file :

Using Imageprofile ESXi-6.7.0-20200804001-standard ...
(Dated 08/08/2020 04:12:43, AcceptanceLevel: PartnerSupported,
Updates ESXi 6.7 Image Profile-ESXi-6.7.0-20200804001-standard)

Exporting the Imageprofile to 'D:\vm\ESXi-6.7.0-20200804001-standard.iso'. Please be patient ...

PS>Erreur de terminaison (Export-EsxImageProfile) : « Could not find a trusted signer. »

Erreur de terminaison (Export-EsxImageProfile) : « Could not find a trusted signer. »

An unexpected error occurred:
Could not find a trusted signer.

Thank you for your help

Python issue with new 2.9.0 with ESXi 8.0

Following up on #51

Never had to use Python before so a bit of a noob on that but installed it according to the instructions and ran the get-pip script.

Does not work after setting its path. Not sure what I do wrong. (Also, log file name is 280, not 290).

PS I:\Drivers\ESXi\Python3.7> .\python.exe
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

exit()

PS I:\Drivers\ESXi> cd .\Python3.7
PS I:\Drivers\ESXi\Python3.7> .\python.exe .\get-pip.py
Collecting pip
Using cached pip-22.3.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.3.1
Uninstalling pip-22.3.1:
Successfully uninstalled pip-22.3.1
WARNING: The scripts pip.exe, pip3.7.exe and pip3.exe are installed in 'I:\Drivers\ESXi\Python3.7\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-22.3.1

PS I:\Drivers\ESXi\Python3.7> Set-PowerCLIConfiguration -PythonPath I:\Drivers\ESXi\Python3.7\python.exe -Scope User

Perform operation?
Performing operation 'Update VMware.PowerCLI configuration.'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y

Scope ProxyPolicy DefaultVIServerMode InvalidCertificateAction DisplayDeprecationWarnings WebOperationTimeout
Seconds


Session UseSystemProxy Multiple Prompt True 300
User Prompt
AllUsers

PS I:\Drivers\ESXi\Python3.7> cd ..
PS I:\Drivers\ESXi> .\ESXi-Customizer-PS-v2.9.0.ps1 -v80 -outDir "I:\Drivers\ESXi\ISO2"

This is ESXi-Customizer-PS Version 2.9.0 (visit https://ESXi-Customizer-PS.v-front.de for more information!)
(Call with -help for instructions)

Temporarily logging to C:\Users\mgr\AppData\Local\Temp\ESXi-Customizer-PS-280.log ...

Running with PowerShell version 5.1 and VMware PowerCLI version 13.0.0 build 20829139

Connecting the VMware ESXi Software depot ...

An unexpected error occurred:
Could not initialize the VMware.ImageBuilder PowerCLI module. Make sure that Python 3.7 is installed and that you have set the path to the Python executable by using Set-PowerCLIConfiguration -PythonPath. See the PowerCLI Compatibility Matrixes for information on the Python requirements.

If requesting support please be sure to include the log file
C:\Users\mgr\AppData\Local\Temp\ESXi-Customizer-PS-280.log

EDIT: Forgot to add that the 4 packages are installed as well.

PS I:\Drivers\ESXi\Python3.7\Scripts> ./pip3.7.exe install six psutil lxml pyopenssl
Requirement already satisfied: six in i:\drivers\esxi\python3.7\lib\site-packages (1.16.0)
Requirement already satisfied: psutil in i:\drivers\esxi\python3.7\lib\site-packages (5.9.4)
Requirement already satisfied: lxml in i:\drivers\esxi\python3.7\lib\site-packages (4.9.1)
Requirement already satisfied: pyopenssl in i:\drivers\esxi\python3.7\lib\site-packages (22.1.0)
Requirement already satisfied: cryptography<39,>=38.0.0 in i:\drivers\esxi\python3.7\lib\site-packages (from pyopenssl) (38.0.4)
Requirement already satisfied: cffi>=1.12 in i:\drivers\esxi\python3.7\lib\site-packages (from cryptography<39,>=38.0.0->pyopenssl) (1.15.1)
Requirement already satisfied: pycparser in i:\drivers\esxi\python3.7\lib\site-packages (from cffi>=1.12->cryptography<39,>=38.0.0->pyopenssl) (2.21)

Failed loading additional VIBs from Online depots in ESXi 8.0

Trying to build custom ESXi 8.0 image with some additional VIBs using this command:

.\ESXi-Customizer-PS.ps1 -v80 -vft -load sata-xahci,net55-r8168,net-igb

And getting these errors:

Load additional VIBs from Online depots ...
   Add VIB sata-xahci 1.42-1 [New AcceptanceLevel: CommunitySupported] [FAILED, invalid package?]
   Add VIB net55-r8168 8.045a-napi [FAILED, invalid package?]
   Add VIB net-igb 5.3.2-99 [FAILED, invalid package?]

This problem is only with ESXi 8.0, with version 7.0 everything is correct.

Is there a way to fix it?

Error when exporting imageprofile.

.\ESXi-Customizer-PS-2.8.1.ps1 -nsc -v67 -pkgDir C:\Inhere2\

This is ESXi-Customizer-PS Version 2.8.1 (visit https://ESXi-Customizer-PS.v-front.de for more information!)
(Call with -help for instructions)

Logging to C:\Users------
ESXi-Customizer-PS-132.log
AppData\Local\Temp\ESXi-Customizer-PS-132.log ...

Running with PowerShell version 5.1 and VMware PowerCLI version .. build

Connecting the VMware ESXi Software depot ... [OK]

Getting Imageprofiles, please wait ... [OK]

Using Imageprofile ESXi-6.7.0-20201104001-standard ...
(Dated 11/11/2020 12:40:19, AcceptanceLevel: PartnerSupported,
Updates ESXi 6.7 Image Profile-ESXi-6.7.0-20201104001-standard)

Loading Offline bundles and VIB files from C:\Inhere2\ ...
Loading C:\Inhere2\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 'C:\Users-----\Documents\WindowsPowerShell\Modules\VMware.PowerCLI\12.2.0.17538434\ESXi-6.7.0-20201104001-standard-customized.iso'. Please be patient ...

An unexpected error occurred:
At line:1 char:238

  • ... i-6.7.0-20201104001-standard-customized.iso' -NoSignatureCheck -Force
  •                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~
    

The string is missing the terminator: '.

If requesting support please be sure to include the log file
C:\Users------\AppData\Local\Temp\ESXi-Customizer-PS-132.log

An unexpected error occured: Calculated digest at EOF does not match expected result ....expected..

I Make Esxi 6.7U3 Version following steps

OS System: Server 2012 R2 9600

Step 1: Install「Windows Management Framework 5.0」

Step 2: Run「Powershell」Use Admin

Step 3: Run => [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Step 4: Run => Install-PackageProvider -Name NuGet

Step 5: Run => Install-Module -Name VMware.PowerCLI -RequiredVersion 10.2.0.9372002

Step 6: Run => Get-Module VM* -ListAvailable

Step 7: Run =>

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Ssl3
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12

Step 8: Disable Firewalld

Step 9: Use PowerCLI Command Line

And Then Have Error On This Log
ESXi-6.7.0-20200604001-standard-customized-202007111109.log

Update Readme

Can you please update the Readme with all of the changes/additions/contributions made to 2.7.0?

Could not initialize the VMware.ImageBuilder PowerCLI module. Make sure that Python 3.7 is installed and that you have set the path to the Python executable by using Set-PowerCLIConfiguration -PythonPath

**********************
Windows PowerShell 脚本开始
开始时间: 20230206162532
PSVersion: 5.1.22621.963
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.22621.963
BuildVersion: 10.0.22621.963
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
          Welcome to VMware PowerCLI!

Log in to a vCenter Server or ESX host:
Connect-VIServer
To find out what commands are available, type:
Get-VICommand
To show searchable help for all PowerCLI commands:
Get-PowerCLIHelp
Once you've connected, display all virtual machines:
Get-VM
If you need more help, visit the PowerCLI community:
Get-PowerCLICommunity

       Copyright (C) VMware, Inc. All rights reserved.



Running with PowerShell version 5.1 and VMware PowerCLI version 13.0.0 build 20829139

Connecting the VMware ESXi Software depot ...
PS>TerminatingError(Add-EsxSoftwareDepot):“Could not initialize the VMware.ImageBuilder PowerCLI module. Make sure that Python 3.7 is installed and that you have set the path to the Python executable by using Set-PowerCLIConfiguration -PythonPath. See the PowerCLI Compatibility Matrixes for information on the Python requirements.”


An unexpected error occurred:
Could not initialize the VMware.ImageBuilder PowerCLI module. Make sure that Python 3.7 is installed and that you have set the path to the Python executable by using Set-PowerCLIConfiguration -PythonPath. See the PowerCLI Compatibility Matrixes for information on the Python requirements.

If requesting support please be sure to include the log file
   C:\Users\JASONH~1\AppData\Local\Temp\ESXi-Customizer-PS-8284.log

PS C:\Users\Jason Hu> C:\python\Python37\python.exe -V
Python 3.7.0
PS C:\Users\Jason Hu> Set-PowerCLIConfiguration -PythonPath 'C:\python\Python37\'
PS C:\Users\Jason Hu\Desktop\exsi\ESXi-Customizer-PS-2.9.0> .\ESXi-Customizer-PS.ps1 -v70 -vft -load sata-xahci,net-r8101,net-r8139too -nsc
---
An unexpected error occurred:
The PythonPath PowerCLI configuration 'C:\python\Python37\' points to a non-existing file. Make sure that Python 3.7 is installed and that you have set the path to the Python executable by using Set-PowerCLIConfiguration -PythonPath. See the PowerCLI Compatibility Matrixes for information on the Python requirements

when I use set env with Set-PowerCLIConfiguration -PythonPath 'C:\python\Python37\', it's still not working , any ideas?

Could not down load from depot at ...

Seems like ssl issue on my PC. What should i check?

PowerCLI O:\> .\ESXi-Customizer-PS-v2.6.0.ps1 -vft -sip -v60

#Run once selected 

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 c:\systemp\ESXi-Customizer-PS-1296.log ...

Running with PowerShell version 2.0 and VMware vSphere PowerCLI 5.1 Release 2 bu
ild 1012425

Connecting the VMware ESXi Online depot ...Add-EsxSoftwareDepot : Could not down
load from depot at https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml, skipping (('https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml', '', '[Errno 4] IOError: <urlopen error [Errno 1] _ssl.c:480: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version>'))
O:\ESXi-Customizer-PS-v2.6.0.ps1:226 знак:42
+     if ($basedepot = Add-EsxSoftwaredepot <<<<  $vmwdepotURL) {
    + CategoryInfo          : ReadError: (System.String[]:String[]) [Add-EsxSo
   ftwareDepot], Exception
    + FullyQualifiedErrorId : ConnectDepotError,VMware.ImageBuilder.Commands.A
   ddDepot


FATAL ERROR: Cannot add VMware ESXi Online depot. Please check your Internet connectivity and/or proxy settings!

Image Profile Fails Validation and Forcibly Closed by remote host

I was in the process of injecting network drivers into a 7.0 iso when I encountered an error where it was saying that it failed image validation then closed by remote host. I was looking through the issues and I see that there is work being done on the Closed by remote host. Im wondering if the Fails Validations is caused by the fact that it cannot connect to remote host. If this is the case then this can be closed out


Windows PowerShell transcript start
Start time: 20200719125755
Username: MOBILEMACHINE\Evan
RunAs User: MOBILEMACHINE\Evan
Configuration Name:
Machine: MOBILEMACHINE (Microsoft Windows NT 10.0.19041.0)
Host Application: PowerShell.exe -noexit -command Set-Location -literalPath 'C:\Users\Evan\Downloads\ESXi-Customizer-PS-master'
Process ID: 704
PSVersion: 5.1.19041.1
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.19041.1
BuildVersion: 10.0.19041.1
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1


Running with PowerShell version 5.1 and VMware PowerCLI version .. build

Connecting the VMware ESXi Software depot ...
[OK]

Connecting the V-Front Online depot ...
[OK]

Getting Imageprofiles, please wait ...
[OK]

Using Imageprofile ESXi-7.0bs-16321839-standard ...
(Dated 06/02/2020 05:57:00, AcceptanceLevel: PartnerSupported,
The general availability release of VMware ESXi Server 7.0bs brings whole new levels of virtualization performance to datacenters and enterprises.)

Load additional VIBs from Online depots ...
Add VIB net55-r8168 8.045a-napi
[New AcceptanceLevel: CommunitySupported]
[OK, added]

Exporting the Imageprofile to 'C:\Users\Evan\Downloads\ESXi-Customizer-PS-master\ESXi-7.0bs-16321839-standard-customized.iso'. Please be patient ...

WARNING: The image profile fails validation. The ISO / Offline Bundle will still be generated but may contain errors and may not boot or be functional. Errors:
WARNING: VIB Realtek_bootbank_net55-r8168_8.045a-napi requires vmkapi_2_2_0_0, but the requirement cannot be satisfied within the ImageProfile. However, additional VIB(s) VMware_bootbank_esx-base_6.0.0-0.14.3017641, VMware_bootbank_esx-base_5.5.0-3.86.4179631, VMware_bootbank_esx-base_6.5.0-0.14.5146846, VMware_bootbank_esx-base_6.7.0-2.69.14141615, VMware_bootbank_esx-base_6.0.0-3.76.6856897, VMware_bootbank_esx-base_6.7.0-3.85.15160134, VMware_bootbank_esx-base_6.0.0-3.72.6765062, VMware_bootbank_esx-base_6.0.0-3.93.9239792, VMware_bootbank_esx-base_6.7.0-2.48.13006603, VMware_bootbank_esx-base_6.5.0-3.120.15256549, VMware_bootbank_esx-base_6.7.0-0.0.8169922, VMware_bootbank_esx-base_5.5.0-1.18.1881737, VMware_bootbank_esx-base_6.0.0-1.17.3029758, VMware_bootbank_esx-base_5.5.0-0.7.1474526, VMware_bootbank_esx-base_6.5.0-2.64.10390116, VMware_bootbank_esx-base_5.5.0-3.84.3568722, VMware_bootbank_esx-base_6.0.0-0.0.2494585, VMware_bootbank_esx-base_5.5.0-3.120.9313066, VMware_bootbank_esx-base_6.0.0-0.8.2809111, VMware_bootbank_esx-base_6.0.0-3.79.6921384, VMware_bootbank_esx-base_5.5.0-3.75.3247226, VMware_bootbank_esx-base_6.0.0-3.138.15169789, VMware_bootbank_esx-base_6.5.0-3.105.14874964, VMware_bootbank_esx-base_6.7.0-3.99.15999342, VMware_bootbank_esx-base_6.5.0-1.29.6765664, VMware_bootbank_esx-base_6.0.0-1.26.3380124, VMware_bootbank_esx-base_6.5.0-0.19.5310538, VMware_bootbank_esx-base_6.5.0-2.57.9298722, VMware_bootbank_esx-base_6.5.0-1.36.7388607, VMware_bootbank_esx-base_5.5.0-3.92.4345810, VMware_bootbank_esx-base_6.0.0-3.113.13003896, VMware_bootbank_esx-base_5.5.0-3.124.9919047, VMware_bootbank_esx-base_6.7.0-2.55.13644319, VMware_bootbank_esx-base_6.0.0-3.87.8934903, VMware_bootbank_esx-base_6.7.0-1.44.12986307, VMware_bootbank_esx-base_6.5.0-0.23.5969300, VMware_bootbank_esx-base_6.0.0-0.6.2715440, VMware_bootbank_esx-base_6.5.0-3.96.13932383, VMware_bootbank_esx-base_6.0.0-3.69.5572656, VMware_bootbank_esx-base_6.0.0-1.22.3247720, VMware_bootbank_esx-base_6.0.0-3.100.9313334, VMware_bootbank_esx-base_6.0.0-2.40.4179598, VMware_bootbank_esx-base_6.5.0-2.67.10719125, VMware_bootbank_esx-base_6.5.0-1.33.7273056, VMware_bootbank_esx-base_5.5.0-3.71.3116895, VMware_bootbank_esx-base_6.0.0-1.20.3073146, VMware_bootbank_esx-base_6.5.0-2.92.13873656, VMware_bootbank_esx-base_5.5.0-3.107.7618464, VMware_bootbank_esx-base_6.5.0-1.41.7967591, VMware_bootbank_esx-base_6.5.0-3.101.14320405, VMware_bootbank_esx-base_5.5.0-1.15.1623387, VMware_bootbank_esx-base_6.7.0-1.28.10302608, VMware_bootbank_esx-base_6.7.0-3.104.16075168, VMware_bootbank_esx-base_5.5.0-2.55.2456374, VMware_bootbank_esx-base_5.5.0-0.0.1331820, VMware_bootbank_esx-base_6.0.0-1.31.3568943, VMware_bootbank_esx-base_6.5.0-3.116.15256468, VMware_bootbank_esx-base_6.0.0-1.23.3341439, VMware_bootbank_esx-base_6.7.0-3.94.15820472, VMware_bootbank_esx-base_6.7.0-0.17.9214924, VMware_bootbank_esx-base_6.7.0-3.73.14320388, VMware_bootbank_esx-base_6.5.0-2.75.10884925, VMware_bootbank_esx-base_6.5.0-0.9.4887370, VMware_bootbank_esx-base_6.0.0-3.135.15018929, VMware_bootbank_esx-base_5.5.0-0.8.1474528, VMware_bootbank_esx-base_6.0.0-3.96.9239799, VMware_bootbank_esx-base_5.5.0-2.65.3029837, VMware_bootbank_esx-base_6.0.0-1.29.3568940, VMware_bootbank_esx-base_6.0.0-3.116.13635687, VMware_bootbank_esx-base_6.5.0-2.50.8294253, VMware_bootbank_esx-base_5.5.0-1.30.1980513, VMware_bootbank_esx-base_6.0.0-0.5.2615704, VMware_bootbank_esx-base_5.5.0-3.95.4345813, VMware_bootbank_esx-base_6.5.0-2.71.10868328, VMware_bootbank_esx-base_6.7.0-1.31.10764712, VMware_bootbank_esx-base_6.5.0-0.15.5224529, VMware_bootbank_esx-base_5.5.0-1.25.1892623, VMware_bootbank_esx-base_5.5.0-3.100.4722766, VMware_bootbank_esx-base_6.0.0-2.46.4510822, VMware_bootbank_esx-base_6.7.0-3.108.16316930, VMware_bootbank_esx-base_6.7.0-1.41.13004448, VMware_bootbank_esx-base_5.5.0-1.16.1746018, VMware_bootbank_esx-base_5.5.0-2.42.2302651, VMware_bootbank_esx-base_5.5.0-2.62.2718055, VMware_bootbank_esx-base_6.7.0-0.20.9484548, VMware_bootbank_esx-base_6.0.0-3.145.15517548, VMware_bootbank_esx-base_6.5.0-2.79.11925212, VMware_bootbank_esx-base_6.5.0-2.61.10175896, VMware_bootbank_esx-base_5.5.0-3.81.3343343, VMware_bootbank_esx-base_6.0.0-3.84.7967664, VMware_bootbank_esx-base_6.0.0-3.107.10474991, VMware_bootbank_esx-base_6.5.0-2.83.13004031, VMware_bootbank_esx-base_5.5.0-3.89.4179633, VMware_bootbank_esx-base_5.5.0-2.39.2143827, VMware_bootbank_esx-base_5.5.0-3.101.5230635, VMware_bootbank_esx-base_6.7.0-1.39.11675023, VMware_bootbank_esx-base_5.5.0-2.36.2093874, VMware_bootbank_esx-base_6.0.0-2.52.4600944, VMware_bootbank_esx-base_5.5.0-0.15.1746974, VMware_bootbank_esx-base_6.0.0-3.129.14513180, VMware_bootbank_esx-base_5.5.0-2.58.2638301, VMware_bootbank_esx-base_6.0.0-3.58.5224934, VMware_bootbank_esx-base_6.0.0-2.43.4192238, VMware_bootbank_esx-base_6.5.0-3.111.15177306, VMware_bootbank_esx-base_6.0.0-2.54.5047589, VMware_bootbank_esx-base_5.5.0-2.51.2352327, VMware_bootbank_esx-base_6.5.0-3.129.16389870, VMware_bootbank_esx-base_5.5.0-3.103.6480267, VMware_bootbank_esx-base_6.5.0-0.11.5146843, VMware_bootbank_esx-base_6.7.0-2.60.13981272, VMware_bootbank_esx-base_6.7.0-2.52.13473784, VMware_bootbank_esx-base_6.5.0-2.88.13635690, VMware_bootbank_esx-base_6.7.0-3.77.15018017, VMware_bootbank_esx-base_6.7.0-0.14.8941472, VMware_bootbank_esx-base_5.5.0-2.33.2068190, VMware_bootbank_esx-base_5.5.0-1.28.1892794, VMware_bootbank_esx-base_6.7.0-0.23.10176752, VMware_bootbank_esx-base_6.5.0-2.54.8935087, VMware_bootbank_esx-base_6.5.0-1.47.8285314, VMware_bootbank_esx-base_6.0.0-3.57.5050593, VMware_bootbank_esx-base_5.5.0-2.59.2702869, VMware_bootbank_esx-base_5.5.0-3.106.6480324, VMware_bootbank_esx-base_6.5.0-0.0.4564106, VMware_bootbank_esx-base_5.5.0-3.68.3029944, VMware_bootbank_esx-base_5.5.0-3.78.3248547, VMware_bootbank_esx-base_5.5.0-3.114.7967571, VMware_bootbank_esx-base_6.5.0-3.108.14990892, VMware_bootbank_esx-base_6.7.0-3.89.15160138, VMware_bootbank_esx-base_6.0.0-0.11.2809209, VMware_bootbank_esx-base_6.0.0-2.34.3620759, VMware_bootbank_esx-base_6.0.0-2.37.3825889, VMware_bootbank_esx-base_6.0.0-3.125.14475122, VMware_bootbank_esx-base_6.0.0-3.66.5485776, VMware_bootbank_esx-base_6.5.0-1.26.5969303, VMware_bootbank_esx-base_6.5.0-3.126.16207673, VMware_bootbank_esx-base_5.5.0-0.14.1598313, VMware_bootbank_esx-base_5.5.0-2.54.2403361, VMware_bootbank_esx-base_6.0.0-2.49.4558694, VMware_bootbank_esx-base_5.5.0-3.117.8934887, VMware_bootbank_esx-base_5.5.0-3.97.4756874, VMware_bootbank_esx-base_6.0.0-3.110.10719132, VMware_bootbank_esx-base_6.7.0-0.28.10176879 from depot can satisfy this requirement.
WARNING: VIB Realtek_bootbank_net55-r8168_8.045a-napi requires com.vmware.driverAPI-9.2.2.0, but the requirement cannot be satisfied within the ImageProfile. However, additional VIB(s) VMware_bootbank_misc-drivers_6.0.0-1.26.3380124, VMware_bootbank_misc-drivers_6.0.0-3.79.6921384, VMware_bootbank_misc-drivers_5.5.0-2.39.2143827, VMware_bootbank_misc-drivers_5.5.0-2.33.2068190, VMware_bootbank_misc-drivers_6.0.0-3.104.9919195, VMware_bootbank_misc-drivers_5.5.0-3.68.3029944, VMware_bootbank_misc-drivers_6.0.0-0.11.2809209, VMware_bootbank_misc-drivers_6.0.0-3.107.10474991, VMware_bootbank_misc-drivers_5.5.0-2.54.2403361, VMware_bootbank_misc-drivers_5.5.0-3.89.4179633, VMware_bootbank_misc-drivers_6.0.0-2.52.4600944, VMware_bootbank_misc-drivers_6.0.0-1.17.3029758, VMware_bootbank_misc-drivers_6.0.0-3.96.9239799, VMware_bootbank_misc-drivers_6.0.0-3.69.5572656, VMware_bootbank_misc-drivers_5.5.0-0.7.1474526, VMware_bootbank_misc-drivers_5.5.0-2.62.2718055, VMW_bootbank_shim-vmklinux-9-2-2-0_6.5.0-0.0.4564106, VMware_bootbank_misc-drivers_6.0.0-3.57.5050593, VMware_bootbank_misc-drivers_6.0.0-2.34.3620759, VMware_bootbank_misc-drivers_5.5.0-3.95.4345813, VMware_bootbank_misc-drivers_6.0.0-2.43.4192238, VMware_bootbank_misc-drivers_5.5.0-0.0.1331820, VMware_bootbank_misc-drivers_6.0.0-0.0.2494585, VMW_bootbank_shim-vmklinux-9-2-2-0_6.7.0-0.0.8169922, VMware_bootbank_misc-drivers_5.5.0-3.78.3248547, VMware_bootbank_misc-drivers_6.0.0-3.129.14513180, VMware_bootbank_misc-drivers_5.5.0-1.28.1892794 from depot can satisfy this requirement.

TerminatingError(Export-EsxImageProfile): "[WinError 10054] An existing connection was forcibly closed by the remote host"
TerminatingError(Export-EsxImageProfile): "[WinError 10054] An existing connection was forcibly closed by the remote host"

An unexpected error occurred:
[WinError 10054] An existing connection was forcibly closed by the remote host

If requesting support please be sure to include the log file
C:\Users\Evan\AppData\Local\Temp\ESXi-Customizer-PS-704.log


Windows PowerShell transcript end
End time: 20200719130103


Could not find a trusted signer.

Hello,

I cant create online bundles anymore.
` D:\esxi\install> .\ESXi-Customizer-PS.ps1 -v67 -vft -load sata-xahci -NoSignatureCheck

This is ESXi-Customizer-PS Version 2.8.1 (visit https://ESXi-Customizer-PS.v-front.de for more information!)
(Call with -help for instructions)

Logging to C:\Users\xxxx\AppData\Local\Temp\ESXi-Customizer-PS-13656.log ...

Running with PowerShell version 5.1 and VMware PowerCLI version .. build

Connecting the VMware ESXi Software depot ... [OK]

Connecting the V-Front Online depot ... [OK]

Getting Imageprofiles, please wait ... [OK]

Using Imageprofile ESXi-6.7.0-20200804001-standard ...
(Dated 08/08/2020 04:12:43, AcceptanceLevel: PartnerSupported,
Updates ESXi 6.7 Image Profile-ESXi-6.7.0-20200804001-standard)

Load additional VIBs from Online depots ...
Add VIB sata-xahci 1.42-1 [New AcceptanceLevel: CommunitySupported] [OK, added]

Exporting the Imageprofile to 'D:\esxi\install\ESXi-6.7.0-20200804001-standard-customized.iso'. Please be patient ...

An unexpected error occurred:
Could not find a trusted signer.

If requesting support please be sure to include the log file
C:\Users\xxxxxx\AppData\Local\Temp\ESXi-Customizer-PS-13656.log`

i tries this in VMware PowerCLI:
$DeployNoSignatureCheck=$true

what can i try else?

greetings

Various errors trying to import realtek drives into ESXi bundle.

Really sorry that this is not directly related to an issue with the script, however, I was using some of the comments in the following pinned issue to help guide me along; #15

I have been trying to put realtek drivers into a ESXi installer for a couple hours now. I was attempting to use ESXI 7.0 but after reading the driver compatibility, it looks like that wont work at all. I moved to 6.7 and used the following;

.\ESXi-Customizer-PS-v2.8.1.ps1 -v67 -ozip -pkgDir ./ -load net-r8168,net-r8169
.\ESXi-Customizer-PS-v2.8.1.ps1 -izip .\ESXi-6.7.0-20200604001-standard-customized.zip

The following errors appeared in both outputs;

WARNING: The image profile fails validation. The ISO / Offline Bundle will still be generated but may contain errors
and may not boot or be functional. Errors:
WARNING: VIB VMware_bootbank_net-r8168_8.013.00-3vmw.510.0.0.799733 requires vmkapi_2_1_0_0, but the requirement
cannot be satisfied within the ImageProfile.
WARNING: VIB VMware_bootbank_net-r8169_6.011.00-2vmw.510.0.0.799733 requires vmkapi_2_1_0_0, but the requirement
cannot be satisfied within the ImageProfile.

Despite this I still loaded the iso onto my usb to attempt install, but still encountered the "No Network Adapters" issue I have been trying to resolve all along.

I additionally tried loading the drives from the offline bundle, net55-r8168-8.045a, but no luck there either.

The network card is definitely a RTL8111/8168/8411

I understand 8169 has no compatibility with 6.7, but was expecting 8168 to work since the driver page shows it to be compatible.

I appreciate literally any help.

error - ESXi 8.0 image not getting created

Connecting the VMware ESXi Software depot ... [OK]

Getting Imageprofiles, please wait ... [OK]

Using Imageprofile ESXi-8.0.0-20513097-standard ...
(Dated 09/23/2022 18:59:28, AcceptanceLevel: PartnerSupported,
The general availability release of VMware ESXi Server 8.0.0 brings whole new levels of virtualization performance to datacenters and enterprises.)

Exporting the Imageprofile to 'D:\ESXi-8.0.0-20513097-standard.iso'. Please be patient ...

警告: The image profile fails validation. The ISO / Offline Bundle will still be generated but may contain errors and
may not boot or be functional. Errors:
警告: File path of '/lib64/python3.8/xml/dom/minicompat.pyc' is claimed by multiple non-overlay VIBs:
{'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
警告: File path of '/lib64/python3.8/tkinter/font.pyc' is claimed by multiple non-overlay VIBs:
{'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
警告: File path of '/etc/vmware/default.map.d/intelnvdimm.map' is claimed by multiple non-overlay VIBs:
{'VMware_bootbank_native-misc-drivers_8.0.0-1.0.20513097',
'VMware_bootbank_native-misc-drivers-esxio_8.0.0-1.0.20513097'}
警告: File path of '/usr/lib/vmware/vmkmod/vmkibft' is claimed by multiple non-overlay VIBs:
{'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
警告: File path of '/bin/esxcfg-volume' is claimed by multiple non-overlay VIBs:
{'VMware_bootbank_esx-base_8.0.0-1.0.20513097', 'VMware_bootbank_esxio-base_8.0.0-1.0.20513097'}
警告: File path of '/etc/vmware/secpolicy/domains/ntpdDom' is claimed by multiple non-overlay VIBs:

Issues working with local files?

ESXi-Customizer 2.9.0

I have an ISO that I'm trying to use as a base bundle, but I can't figure out the syntax to tell ESXi-Customizer to use it instead of resorting to a repository. When I use this command line:
PS C:\users\bbracale\Documents\ESXi Customizer> .\ESXi-Customizer-PS.ps1 -pkgDir .\ -load INT_bootbank_igbn_1.4.11.0-1OEM.700.1.0.15525992.vib -izip VMware-VMvisor-Installer-7.0b-16324942.x86_64.iso

I get this error:
Adding base Offline bundle VMware-VMvisor-Installer-7.0b-16324942.x86_64.iso ...Add-EsxSoftwaredepot : Could not download from depot at
file:///C:/users/bbracale/Documents/ESXi%20Customizer/VMware-VMvisor-Installer-7.0b-16324942.x86_64.iso/index.xml,
skipping (('C:\users\bbracale\Documents\ESXi
Customizer\VMware-VMvisor-Installer-7.0b-16324942.x86_64.iso\index.xml', '', ''))
At C:\users\bbracale\Documents\ESXi Customizer\ESXi-Customizer-PS.ps1:268 char:22

  • if ($basedepot = Add-EsxSoftwaredepot $izip) {
    
  •                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ReadError: (System.String[]:String[]) [Add-EsxSoftwareDepot], Exception
    • FullyQualifiedErrorId : ConnectDepotError,VMware.ImageBuilder.Commands.AddDepot

FATAL ERROR: Cannot add VMware base Offline bundle!

Also, there appears to be a cosmetic when I specify just an offline vib to use. The script does find the file, but then tries to still aso get it from an Online depot...

PS C:\users\bbracale\Documents\ESXi Customizer> .\ESXi-Customizer-PS.ps1 -v70 -pkgDir .\ -load INT_bootbank_igbn_1.4.11.0-1OEM.700.1.0.15525992.vib

.
.
.
Loading Offline bundles and VIB files from .\ ...
Loading C:\users\bbracale\Documents\ESXi Customizer\INT_bootbank_igbn_1.4.11.0-1OEM.700.1.0.15525992.vib ... [OK]
Add VIB igbn 1.4.11.0-1OEM.700.1.0.15525992 [OK, replaced 1.4.11.2-1vmw.703.0.20.19193900]

Load additional VIBs from Online depots ...
[ERROR] Cannot find VIB named INT_bootbank_igbn_1.4.11.0-1OEM.700.1.0.15525992.vib !

Error on get esxi 6.7 .iso

Error while get esxi 6.7 .iso (only 6.7, all others OK):
-command "./ESXi-Customizer-PS-v2.9.0.ps1 -v67 -nsc"
-ozip work well

Log:
TerminatingError(Export-EsxImageProfile): "Error retrieving file for VIB 'VMware_bootbank_esx-ui_1.43.10-20199807': ('<http.client.HTTPResponse object at 0x0000027688DFC248>', "Error opening file object for VIB 'VMware_bootbank_esx-ui_1.43.10-20199807': Expected value '[]' for attribute 'swplatforms', but found value '[<vmware.esximage.Vib.SoftwarePlatform object at 0x00000276890D8848>, <vmware.esximage.Vib.SoftwarePlatform object at 0x00000276890D8648>]'.")."

An unexpected error occurred:
Error retrieving file for VIB 'VMware_bootbank_esx-ui_1.43.10-20199807': ('<http.client.HTTPResponse object at 0x0000027688DFC248>', "Error opening file object for VIB 'VMware_bootbank_esx-ui_1.43.10-20199807': Expected value '[]' for attribute 'swplatforms', but found value '[<vmware.esximage.Vib.SoftwarePlatform object at 0x00000276890D8848>, <vmware.esximage.Vib.SoftwarePlatform object at 0x00000276890D8648>]'.").

Error when hit -> ESXi-Customizer-PS.ps1 -help

Hit error when excuting below statement,

ParserError: C:\Temp\ESXi-Customizer-PS.ps1:175
Line |
175 | … ata-ga-click="(Logged out) Header, go to Features">Features <span cla …
| ~
| The '<' operator is reserved for future use.

I am using PowerShell 7.0.3 under Windows 10Home 64bits

"[WinError 10054] An existing connection was forcibly closed by the remote host" during "Exporting the Imageprofile"

I've seen the other tasks, but they seem to be failing on the steps during downloading the images/isos, but I'm getting a failure during the "Exporting the Imageprofile" step... And I can't see why it'd be failing on a web connection related issue when writing a file locally.

It did fail downloading the ISO originally, so I downloaded it manually and stuffed it in the directory, which made it get further

I also disabled the windows firewall...

ESXi-Customizer-PS-17776.log

I guess this might be more an underlying bug with Export-EsxImageprofile... But I thought I'd try here first :)

I was following https://andrewroderos.com/vmware-esxi-home-lab-intel-nuc-frost-canyon/ which said to run Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass but that failed

ESXi cannot see NIC after customizer is run

Hey guys,

I have a workstation with an Intel i210 NIC and a LSI SAS2308 RAID card on it, I found the driver (vib) for the RAID card, added it to ESXi 7 iso but when I booted it up, it did not see the NIC that it did see before when it didn't see the RAID.

Any ideas?

Thanks

error - ESXi 8.0a image not getting created

Trying to create an image for latest ESXI 8.0.a however although i have set everhting according documentation incl path to 3.7 etc using latest VMware.PowerCLI 13.0.0.20829139. it give me a lot of error when creating the image and finaly shows at the end.

WARNING: File path of '/usr/lib/vmware/esxcli/int/lib64/libuser-internal.so' is claimed by multiple non-overlay VIBs:
{'VMware_bootbank_esx-base_8.0.0-1.10.20842819', 'VMware_bootbank_esxio-base_8.0.0-1.10.20842819'}

An unexpected error occurred:
[WinError 10054] De externe host heeft een verbinding verbroken.

Error compiling, missing dependencies - esx-base

Hi there,

First off, I want to give you proprs for an awesome script that has helped us setting up home labs for years! 👍

I reached a point where I need to reinstall my ESXi, and I wanted to make use of your script again.
I`m running Win10 with the PowerCLI version 5.5 and your latest script (v2.8.1) and when I try and run the script it throws me the following error:

PowerCLI C:\ESXI> **.\ESXi-Customizer-PS.ps1 -v67 -vft -load net-e1000e,net55-r8168,net55-r8169,net-r8101,net-r8139too,vmware-esx-dvfilter-maclearn,sata-xahci -pkgDir C:\ESXI\pkg -outDir C:\ESXI\ISO -log C:\ESXI\ISO\ESXI-custom.log -nsc**

This is ESXi-Customizer-PS Version 2.8.1 (visit https://ESXi-Customizer-PS.v-front.de for more information!)
(Call with -help for instructions)

Logging to C:\ESXI\ISO\ESXI-custom.log ...

Running with PowerShell version 5.1 and VMware vSphere PowerCLI 5.5 Release 1 build 1295336

Connecting the VMware ESXi Software depot ...Add-EsxSoftwaredepot : Could not download from depot at https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml, skipping (('https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml', '', '[Errno 4] IOError: <urlopen
error [Errno 1] _ssl.c:480: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>'))
At C:\ESXI\ESXi-Customizer-PS.ps1:250 char:22
+     if ($basedepot = Add-EsxSoftwaredepot $vmwdepotURL) {
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (System.String[]:String[]) [Add-EsxSoftwareDepot], Exception
    + FullyQualifiedErrorId : ConnectDepotError,VMware.ImageBuilder.Commands.AddDepot


FATAL ERROR: Cannot add VMware ESXi Online depot. Please check your Internet connectivity and/or proxy settings!

I do not have any proxy in between the station and and vmware, so its not an issue of proxy. I have a strong feeling its something from my side, on the client config, but I cannot figure out what. I googled, and some posts say its due the openssl being out of date.

I know that SSL3 is not secure, and it is disabled by default on my PC, but I tried enabling it as well, but it didnt help, I tried running teh script via powershell as well, no luck there neither.

So I wanted to check if anyone else has encountered such an issue or maybe know the answer to it?

Thanks a lot in advance!

add driver to ESXi8.0, error

An unexpected error occurred:
Error retrieving file for VIB 'VMW_bootbank_rste_2.0.2.0088-7vmw.800.1.0.20513097': ('vib20/rste/VMW_bootbank_rste_2.0.2.0088-7vmw.800.1.0.20513097.vib', "Unable to open VIB archive in streaming mode: '_SharedFile' object has no attribute 'writing'").

If requesting support please be sure to include the log file
y:\temp\ESXi-Customizer-PS-15724.log

Can't creat the ISO file!

lunch ".\ESXi-Customizer-PS.ps1 -nsc -iZip .\ESXi670-202210001.zip"

An unexpected error occurred:
Error retrieving file for VIB 'VMware_bootbank_esx-ui_1.43.10-20199807': ("<zipfile.ZipExtFile name='vib20/esx-ui/VMware_bootbank_esx-ui_1.43.10-20199807.vib' mode='r' compress_type=deflate>", "Error opening file object for VIB 'VMware_bootbank_esx-ui_1.43.10-20199807': Expected value '[]' for attribute 'swplatforms', but found value '[<vmware.esximage.Vib.SoftwarePlatform object at 0x000001DFB3459708>, <vmware.esximage.Vib.SoftwarePlatform object at 0x000001DFB34599C8>]'.").

If requesting support please be sure to include the log file

WinError 10054

Hi,
I use command:
.\ESXi-Customizer-PS.ps1 -v70 -vft -load net55-r8168
then i got an error which was winerror 10054.
Then I make share using tls 1.2 to download images.
How can I fix it , thank you.
log:


Windows PowerShell 轉譯開始
開始時間: 20200405144553
使用者名稱: DESKTOP-6R59TMM\lide
RunAs 使用者: DESKTOP-6R59TMM\lide
設定名稱:
電腦: DESKTOP-6R59TMM (Microsoft Windows NT 10.0.19033.0)
主應用程式: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
處理序識別碼: 16884
PSVersion: 5.1.19033.1
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.19033.1
BuildVersion: 10.0.19033.1
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1


Running with PowerShell version 5.1 and VMware PowerCLI version .. build

Connecting the VMware ESXi Software depot ...
[OK]

Connecting the V-Front Online depot ...
[OK]

Getting Imageprofiles, please wait ...
[OK]

Using Imageprofile ESXi-7.0.0-15843807-standard ...
(Dated 03/16/2020 10:48:54, AcceptanceLevel: PartnerSupported,
The general availability release of VMware ESXi Server 7.0.0 brings whole new levels of virtualization performance to datacenters and enterprises.)

Load additional VIBs from Online depots ...
Add VIB net55-r8168 8.045a-napi
[New AcceptanceLevel: CommunitySupported]
[OK, added]

Exporting the Imageprofile to 'C:\Users\lide\Downloads\ESXi-7.0.0-15843807-standard-customized.iso'. Please be patient ...

警告: The image profile fails validation. The ISO / Offline Bundle will still be generated but may contain errors and may not boot or be functional. Errors:
警告: VIB Realtek_bootbank_net55-r8168_8.045a-napi requires com.vmware.driverAPI-9.2.2.0, but the requirement cannot be satisfied within the ImageProfile. However, additional VIB(s) VMware_bootbank_misc-drivers_5.5.0-2.39.2143827, VMware_bootbank_misc-drivers_6.0.0-3.69.5572656, VMware_bootbank_misc-drivers_6.0.0-3.104.9919195, VMware_bootbank_misc-drivers_6.0.0-3.107.10474991, VMware_bootbank_misc-drivers_6.0.0-2.43.4192238, VMware_bootbank_misc-drivers_5.5.0-3.68.3029944, VMware_bootbank_misc-drivers_5.5.0-3.78.3248547, VMware_bootbank_misc-drivers_5.5.0-2.62.2718055, VMware_bootbank_misc-drivers_6.0.0-3.79.6921384, VMware_bootbank_misc-drivers_5.5.0-0.0.1331820, VMware_bootbank_misc-drivers_5.5.0-1.28.1892794, VMware_bootbank_misc-drivers_5.5.0-3.89.4179633, VMware_bootbank_misc-drivers_6.0.0-2.52.4600944, VMware_bootbank_misc-drivers_6.0.0-1.17.3029758, VMware_bootbank_misc-drivers_6.0.0-3.96.9239799, VMware_bootbank_misc-drivers_6.0.0-3.57.5050593, VMware_bootbank_misc-drivers_5.5.0-2.33.2068190, VMware_bootbank_misc-drivers_6.0.0-1.26.3380124, VMW_bootbank_shim-vmklinux-9-2-2-0_6.5.0-0.0.4564106, VMware_bootbank_misc-drivers_6.0.0-2.34.3620759, VMW_bootbank_shim-vmklinux-9-2-2-0_6.7.0-0.0.8169922, VMware_bootbank_misc-drivers_5.5.0-0.7.1474526, VMware_bootbank_misc-drivers_6.0.0-3.129.14513180, VMware_bootbank_misc-drivers_5.5.0-2.54.2403361, VMware_bootbank_misc-drivers_5.5.0-3.95.4345813, VMware_bootbank_misc-drivers_6.0.0-0.0.2494585, VMware_bootbank_misc-drivers_6.0.0-0.11.2809209 from depot can satisfy this requirement.
警告: VIB Realtek_bootbank_net55-r8168_8.045a-napi requires vmkapi_2_2_0_0, but the requirement cannot be satisfied within the ImageProfile. However, additional VIB(s) VMware_bootbank_esx-base_6.0.0-3.113.13003896, VMware_bootbank_esx-base_6.7.0-0.20.9484548, VMware_bootbank_esx-base_6.5.0-2.83.13004031, VMware_bootbank_esx-base_6.0.0-2.40.4179598, VMware_bootbank_esx-base_6.5.0-3.96.13932383, VMware_bootbank_esx-base_5.5.0-3.81.3343343, VMware_bootbank_esx-base_6.0.0-3.76.6856897, VMware_bootbank_esx-base_6.5.0-0.9.4887370, VMware_bootbank_esx-base_5.5.0-0.15.1746974, VMware_bootbank_esx-base_5.5.0-2.39.2143827, VMware_bootbank_esx-base_6.5.0-1.36.7388607, VMware_bootbank_esx-base_5.5.0-3.101.5230635, VMware_bootbank_esx-base_5.5.0-3.86.4179631, VMware_bootbank_esx-base_6.0.0-3.69.5572656, VMware_bootbank_esx-base_6.7.0-2.55.13644319, VMware_bootbank_esx-base_6.5.0-3.116.15256468, VMware_bootbank_esx-base_5.5.0-2.51.2352327, VMware_bootbank_esx-base_5.5.0-0.8.1474528, VMware_bootbank_esx-base_6.7.0-1.28.10302608, VMware_bootbank_esx-base_6.5.0-1.33.7273056, VMware_bootbank_esx-base_5.5.0-2.55.2456374, VMware_bootbank_esx-base_6.0.0-3.66.5485776, VMware_bootbank_esx-base_6.0.0-3.135.15018929, VMware_bootbank_esx-base_6.5.0-0.11.5146843, VMware_bootbank_esx-base_5.5.0-3.84.3568722, VMware_bootbank_esx-base_6.5.0-1.29.6765664, VMware_bootbank_esx-base_6.0.0-1.31.3568943, VMware_bootbank_esx-base_6.5.0-0.0.4564106, VMware_bootbank_esx-base_5.5.0-3.71.3116895, VMware_bootbank_esx-base_6.5.0-0.19.5310538, VMware_bootbank_esx-base_6.5.0-2.75.10884925, VMware_bootbank_esx-base_5.5.0-2.42.2302651, VMware_bootbank_esx-base_6.5.0-3.120.15256549, VMware_bootbank_esx-base_6.5.0-0.15.5224529, VMware_bootbank_esx-base_6.7.0-2.52.13473784, VMware_bootbank_esx-base_5.5.0-2.36.2093874, VMware_bootbank_esx-base_6.5.0-1.26.5969303, VMware_bootbank_esx-base_6.7.0-3.77.15018017, VMware_bootbank_esx-base_6.0.0-1.29.3568940, VMware_bootbank_esx-base_6.7.0-1.31.10764712, VMware_bootbank_esx-base_6.0.0-1.26.3380124, VMware_bootbank_esx-base_6.0.0-2.54.5047589, VMware_bootbank_esx-base_5.5.0-3.97.4756874, VMware_bootbank_esx-base_5.5.0-3.89.4179633, VMware_bootbank_esx-base_6.0.0-3.79.6921384, VMware_bootbank_esx-base_5.5.0-2.54.2403361, VMware_bootbank_esx-base_6.0.0-3.125.14475122, VMware_bootbank_esx-base_5.5.0-3.107.7618464, VMware_bootbank_esx-base_5.5.0-3.92.4345810, VMware_bootbank_esx-base_5.5.0-3.114.7967571, VMware_bootbank_esx-base_6.0.0-3.72.6765062, VMware_bootbank_esx-base_6.7.0-0.14.8941472, VMware_bootbank_esx-base_6.5.0-2.64.10390116, VMware_bootbank_esx-base_5.5.0-1.30.1980513, VMware_bootbank_esx-base_6.0.0-2.52.4600944, VMware_bootbank_esx-base_6.0.0-3.96.9239799, VMware_bootbank_esx-base_6.0.0-1.23.3341439, VMware_bootbank_esx-base_6.0.0-3.87.8934903, VMware_bootbank_esx-base_6.5.0-2.50.8294253, VMware_bootbank_esx-base_5.5.0-2.33.2068190, VMware_bootbank_esx-base_6.7.0-1.44.12986307, VMware_bootbank_esx-base_5.5.0-3.75.3247226, VMware_bootbank_esx-base_6.5.0-2.57.9298722, VMware_bootbank_esx-base_6.0.0-3.138.15169789, VMware_bootbank_esx-base_6.0.0-0.11.2809209, VMware_bootbank_esx-base_5.5.0-3.117.8934887, VMware_bootbank_esx-base_5.5.0-3.95.4345813, VMware_bootbank_esx-base_6.7.0-3.73.14320388, VMware_bootbank_esx-base_6.0.0-1.17.3029758, VMware_bootbank_esx-base_6.0.0-3.58.5224934, VMware_bootbank_esx-base_6.0.0-2.49.4558694, VMware_bootbank_esx-base_6.0.0-0.6.2715440, VMware_bootbank_esx-base_5.5.0-3.78.3248547, VMware_bootbank_esx-base_6.7.0-0.23.10176752, VMware_bootbank_esx-base_6.0.0-0.8.2809111, VMware_bootbank_esx-base_6.7.0-2.48.13006603, VMware_bootbank_esx-base_5.5.0-1.16.1746018, VMware_bootbank_esx-base_6.5.0-2.92.13873656, VMware_bootbank_esx-base_5.5.0-0.14.1598313, VMware_bootbank_esx-base_6.0.0-0.5.2615704, VMware_bootbank_esx-base_6.5.0-2.88.13635690, VMware_bootbank_esx-base_6.0.0-1.22.3247720, VMware_bootbank_esx-base_6.0.0-2.46.4510822, VMware_bootbank_esx-base_5.5.0-2.58.2638301, VMware_bootbank_esx-base_6.0.0-3.107.10474991, VMware_bootbank_esx-base_6.7.0-1.39.11675023, VMware_bootbank_esx-base_5.5.0-1.15.1623387, VMware_bootbank_esx-base_6.0.0-1.20.3073146, VMware_bootbank_esx-base_5.5.0-2.59.2702869, VMware_bootbank_esx-base_5.5.0-1.28.1892794, VMware_bootbank_esx-base_6.0.0-3.84.7967664, VMware_bootbank_esx-base_6.7.0-1.41.13004448, VMware_bootbank_esx-base_6.5.0-3.101.14320405, VMware_bootbank_esx-base_6.0.0-3.100.9313334, VMware_bootbank_esx-base_5.5.0-3.103.6480267, VMware_bootbank_esx-base_6.5.0-3.108.14990892, VMware_bootbank_esx-base_6.5.0-1.47.8285314, VMware_bootbank_esx-base_6.0.0-2.37.3825889, VMware_bootbank_esx-base_5.5.0-3.68.3029944, VMware_bootbank_esx-base_6.5.0-0.14.5146846, VMware_bootbank_esx-base_6.5.0-2.79.11925212, VMware_bootbank_esx-base_6.5.0-3.105.14874964, VMware_bootbank_esx-base_6.0.0-3.145.15517548, VMware_bootbank_esx-base_6.7.0-3.85.15160134, VMware_bootbank_esx-base_5.5.0-3.106.6480324, VMware_bootbank_esx-base_5.5.0-3.100.4722766, VMware_bootbank_esx-base_6.5.0-2.54.8935087, VMware_bootbank_esx-base_5.5.0-2.62.2718055, VMware_bootbank_esx-base_5.5.0-1.18.1881737, VMware_bootbank_esx-base_6.7.0-2.69.14141615, VMware_bootbank_esx-base_6.0.0-0.14.3017641, VMware_bootbank_esx-base_6.0.0-3.129.14513180, VMware_bootbank_esx-base_6.5.0-3.111.15177306, VMware_bootbank_esx-base_6.5.0-2.67.10719125, VMware_bootbank_esx-base_5.5.0-1.25.1892623, VMware_bootbank_esx-base_6.0.0-2.34.3620759, VMware_bootbank_esx-base_5.5.0-3.124.9919047, VMware_bootbank_esx-base_6.7.0-0.17.9214924, VMware_bootbank_esx-base_6.0.0-3.110.10719132, VMware_bootbank_esx-base_6.5.0-2.61.10175896, VMware_bootbank_esx-base_6.0.0-2.43.4192238, VMware_bootbank_esx-base_6.7.0-3.89.15160138, VMware_bootbank_esx-base_5.5.0-0.7.1474526, VMware_bootbank_esx-base_6.7.0-2.60.13981272, VMware_bootbank_esx-base_6.5.0-0.23.5969300, VMware_bootbank_esx-base_5.5.0-2.65.3029837, VMware_bootbank_esx-base_5.5.0-3.120.9313066, VMware_bootbank_esx-base_6.5.0-1.41.7967591, VMware_bootbank_esx-base_6.0.0-3.93.9239792, VMware_bootbank_esx-base_6.0.0-3.116.13635687, VMware_bootbank_esx-base_6.5.0-2.71.10868328, VMware_bootbank_esx-base_6.7.0-0.28.10176879, VMware_bootbank_esx-base_6.0.0-3.57.5050593, VMware_bootbank_esx-base_5.5.0-0.0.1331820, VMware_bootbank_esx-base_6.0.0-0.0.2494585, VMware_bootbank_esx-base_6.7.0-0.0.8169922 from depot can satisfy this requirement.

終止錯誤(Export-EsxImageProfile): "[WinError 10054] ???????????????????????????????????????????????????"
終止錯誤(Export-EsxImageProfile): "[WinError 10054] ???????????????????????????????????????????????????"

An unexpected error occurred:
[WinError 10054] ???????????????????????????????????????????????????

If requesting support please be sure to include the log file
C:\Users\lide\AppData\Local\Temp\ESXi-Customizer-PS-16884.log


Windows PowerShell 轉譯結束
結束時間: 20200405145010


An unexpected error occurred: [WinError 10054] An existing connection was forcibly closed by the remote host

Running with PowerShell version 5.1 and VMware PowerCLI version .. build

Connecting the VMware ESXi Software depot ... [OK]

Getting Imageprofiles, please wait ... [OK]

Using Imageprofile ESXi-6.7.0-20200604001-standard ...
(Dated 06/04/2020 02:20:40, AcceptanceLevel: PartnerSupported,
No Doc)

Exporting the Imageprofile to 'F:\kashif\ESXi-6.7.0-20200604001-standard.iso'. Please be patient ...

**An unexpected error occurred:
[WinError 10054] An existing connection was forcibly closed by the remote host

If requesting support please be sure to include the log file
C:\Users\DABOO\AppData\Local\Temp\ESXi-Customizer-PS-2788.log**

ESXi-Customizer-PS-2788.log

The ampersand (&) character is not allowed

When I try to run the script, I get this:

`PS C:\00\01.esxi\areca> .\ESXi-Customizer-PS.ps1

Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
message. Do you want to run C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): r
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:185 char:23

  •               Sign&nbsp;up
    
  •                   ~
    

The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quot
ation marks ("&") to pass it as part of a string.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:213 char:189

  • ... ata-ga-click="(Logged out) Header, go to Features">Features <span cla ...
  •                                                             ~
    

The '<' operator is reserved for future use.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:213 char:269

  • ... nk-symbol float-right text-normal color-text-tertiary pr-3">→</s ...
  •                                                             ~
    

The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quot
ation marks ("&") to pass it as part of a string.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:215 char:165

  • ... ck Link--secondary no-underline f5 Bump-link--hover">Mobile <span cla ...
  •                                                             ~
    

The '<' operator is reserved for future use.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:215 char:245

  • ... nk-symbol float-right text-normal color-text-tertiary pr-3">→</s ...
  •                                                             ~
    

The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quot
ation marks ("&") to pass it as part of a string.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:216 char:176

  • ... k Link--secondary no-underline f5 Bump-link--hover">Actions <span cla ...
  •                                                             ~
    

The '<' operator is reserved for future use.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:216 char:256

  • ... nk-symbol float-right text-normal color-text-tertiary pr-3">→</s ...
  •                                                             ~
    

The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quot
ation marks ("&") to pass it as part of a string.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:217 char:182

  • ... ink--secondary no-underline f5 Bump-link--hover">Codespaces <span cla ...
  •                                                             ~
    

The '<' operator is reserved for future use.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:217 char:262

  • ... nk-symbol float-right text-normal color-text-tertiary pr-3">→</s ...
  •                                                             ~
    

The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quot
ation marks ("&") to pass it as part of a string.
At C:\00\01.esxi\areca\ESXi-Customizer-PS.ps1:218 char:178

  • ... Link--secondary no-underline f5 Bump-link--hover">Packages <span cla ...
  •                                                             ~
    

The '<' operator is reserved for future use.
Not all parse errors were reported. Correct the reported errors and try again.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : AmpersandNotAllowed

PS C:\00\01.esxi\areca>`

Feature Request / Integrate custom Kickstart File?

Would it be possible to use custom Kickstart files and integrate this during customization?

Technically it should import one or more .ks Files/Folder and also modify or replace the boot.cfg.

I would like to create custom ISOs with my own KS Files to install servers more automated.

https://williamlam.com/2015/06/how-to-create-custom-esxi-boot-menu-to-support-multiple-kickstart-files.html
https://williamlam.com/2019/07/automated-esxi-installation-to-usb-using-kickstart.html

Image Profile fails validation.

I'm trying to make a 7.0 image with Realtek drivers in it. I found and downloaded drivers. I can get the ISO created but it gives errors.

When I run this:
.\ESXi-Customizer-PS.ps1 -v70 -ozip -load net-r8168,net-r8169

I get this:
WARNING: The image profile fails validation. The ISO / Offline Bundle will still be generated but may contain errors and may not boot or be functional. Errors:
WARNING: On platform embeddedEsx, VIB VMware_bootbank_net-r8168_8.013.00-3vmw.510.0.0.799733 requires com.vmware.driverAPI-9.2.1.0, but the requirement cannot be satisfied within the ImageProfile.
WARNING: On platform embeddedEsx, VIB VMware_bootbank_net-r8169_6.011.00-2vmw.510.0.0.799733 requires com.vmware.driverAPI-9.2.1.0, but the requirement cannot be satisfied within the ImageProfile.
WARNING: On platform embeddedEsx, VIB VMware_bootbank_net-r8169_6.011.00-2vmw.510.0.0.799733 requires vmkapi_2_1_0_0, but the requirement cannot be satisfied within the ImageProfile.
WARNING: On platform embeddedEsx, VIB VMware_bootbank_net-r8168_8.013.00-3vmw.510.0.0.799733 requires vmkapi_2_1_0_0, but the requirement cannot be satisfied within the ImageProfile.

When I run this:
.\ESXi-Customizer-PS.ps1 -v70 -pkgDir .\drivers\ -ozip

I get this:
WARNING: The image profile fails validation. The ISO / Offline Bundle will still be generated but may contain errors and may not boot or be functional. Errors:
WARNING: On platform embeddedEsx, VIB Realtek_bootbank_net55-r8168_8.045a-napi requires com.vmware.driverAPI-9.2.2.0, but the requirement cannot be satisfied within the ImageProfile.
WARNING: On platform embeddedEsx, VIB Realtek_bootbank_net55-r8168_8.045a-napi requires vmkapi_2_2_0_0, but the requirement cannot be satisfied within the ImageProfile.

What am I doing wrong?

An unexpected error occurred

ESXi-6.7.0-20221004001-standard (Build 20497097)

Error retrieving file for VIB 'VMware_bootbank_esx-ui_1.43.10-20199807': ("<zipfile.ZipExtFile
name='vib20/esx-ui/VMware_bootbank_esx-ui_1.43.10-20199807.vib' mode='r' compress_type=deflate>", "Error opening file
object for VIB 'VMware_bootbank_esx-ui_1.43.10-20199807': Expected value '[]' for attribute 'swplatforms', but found va
lue '[<vmware.esximage.Vib.SoftwarePlatform object at 0x000001EE34D13B08>, <vmware.esximage.Vib.SoftwarePlatform object
at 0x000001EE34D13508>]'.").
If requesting support please be sure to include the log file.

PSVersion: 5.1.19041.1682
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.19041.1682
BuildVersion: 10.0.19041.1682
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1


Running with PowerShell version 5.1 and VMware PowerCLI version 12.7.0 build 20091289

Adding base Offline bundle .\ESXi670-202210001.zip ...
[OK]

Getting Imageprofiles, please wait ...
[OK]

Using Imageprofile ESXi-6.7.0-20221004001-standard ...
(Dated 09/21/2022 13:36:44, AcceptanceLevel: PartnerSupported,
Updates ESXi 6.7 Image Profile-ESXi-6.7.0-20221004001-standard)

Exporting the Imageprofile to 'D:\esxi\ESXi-6.7.0-20221004001-standard.iso'. Please be patient ...

PS>TerminatingError(Export-EsxImageProfile):“Error retrieving file for VIB 'VMware_bootbank_esx-ui_1.43.10-20199807': ("<zipfile.ZipExtFile name='vib20/esx-ui/VMware_bootbank_esx-ui_1.43.10-20199807.vib' mode='r' compress_type=deflate>", "Error opening file object for VIB 'VMware_bootbank_esx-ui_1.43.10-20199807': Expected value '[]' for attribute 'swplatforms', but found value '[<vmware.esximage.Vib.SoftwarePlatform object at 0x000001EE3630F748>, <vmware.esximage.Vib.SoftwarePlatform object at 0x000001EE3630F9C8>]'.").”

TerminatingError(Export-EsxImageProfile):“Error retrieving file for VIB 'VMware_bootbank_esx-ui_1.43.10-20199807': ("<zipfile.ZipExtFile name='vib20/esx-ui/VMware_bootbank_esx-ui_1.43.10-20199807.vib' mode='r' compress_type=deflate>", "Error opening file object for VIB 'VMware_bootbank_esx-ui_1.43.10-20199807': Expected value '[]' for attribute 'swplatforms', but found value '[<vmware.esximage.Vib.SoftwarePlatform object at 0x000001EE3630F748>, <vmware.esximage.Vib.SoftwarePlatform object at 0x000001EE3630F9C8>]'.").”

An unexpected error occurred:
Error retrieving file for VIB 'VMware_bootbank_esx-ui_1.43.10-20199807': ("<zipfile.ZipExtFile name='vib20/esx-ui/VMware_bootbank_esx-ui_1.43.10-20199807.vib' mode='r' compress_type=deflate>", "Error opening file object for VIB 'VMware_bootbank_esx-ui_1.43.10-20199807': Expected value '[]' for attribute 'swplatforms', but found value '[<vmware.esximage.Vib.SoftwarePlatform object at 0x000001EE3630F748>, <vmware.esximage.Vib.SoftwarePlatform object at 0x000001EE3630F9C8>]'.").

If requesting support please be sure to include the log file

Latest Script 2.8.1 causes errors on win 10 2004 (Powershell 5.1)

With the latest script version 2.8.1 i get the following errors when running the ESXi-Customizer-PS.ps1

"In C:\TEMP\ESXi-Customizer-PS.ps1:152 Zeichen:21
Sign up
~
Das kaufmännische Und-Zeichen (&) ist nicht zulässig. Der &-Operator ist für eine zukünftige Verwendung reserviert.
Verwenden Sie das kaufmännische Und-Zeichen in doppelten Anführungszeichen ("&"), um es als Teil einer Zeichenfolge zu
übergeben.
In C:\TEMP\ESXi-Customizer-PS.ps1:179 Zeichen:190
... ata-ga-click="(Logged out) Header, go to Features">Features <span cla ...
~
Der Operator "<" ist für zukünftige Versionen reserviert.
In C:\TEMP\ESXi-Customizer-PS.ps1:179 Zeichen:261
......."

further errors see screenshot

https://www.bilder-upload.eu/bild-398361-1602395363.png.html

I have installed the latest version of vmware powercli (12.x)
using this explanation: https://docs.vmware.com/de/VMware-vSphere/7.0/com.vmware.esxi.install.doc/GUID-F02D0C2D-B226-4908-9E5C-2E783D41FE2D.html

Issue with 67 Image Build

The following commands can successfully create ISO for ESXi65 build.

`
PS C:\67> [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Ssl3

PS C:\67> .\ESXi-Customizer-PS.ps1 -v65 -vft -nsc -load net-igb -remove vmkusb -log C:\67\ISO\ESXi-Customizer-PS.log -outDir C:\67\ISO
`

However, the same way I am not able to create ISO for ESXi67 build.

`
PS C:\67> [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Ssl3

PS C:\67> .\ESXi-Customizer-PS.ps1 -v67 -vft -nsc -load net-igb -remove vmkusb -log C:\67\ISO\ESXi-Customizer-PS.log -outDir C:\67\ISO
`

See a successful log for 65 build and un-successful 67 builds in the attached log.zip file.

Log.zip

Although I followed Alex Lopez's recomendation to turn on Ssl3 to work around "[WinError 10054] An existing connection was forcibly closed by the remote host" error, it's not a good idea to use Ssl3 given poodle vulnerability which was disclosed a few years ago.

Especially by updating protocol and cipher preferences, you can easily fix/address this on V-Front Online depot.
Given the above workaround seems to have worked for 65 and failed for 67, we can focus in that area.

Given I am not so savvy with Powershell, I would still try to understand 67 image build portion in this PowerShell script and share if I can find anything intrsting.

can't add network card for esxi 6.7u3b

警告: The image profile fails validation. The ISO / Offline Bundle will still be generated but may contain errors and may not boot or be functional. Errors:
警告: File path of '/etc/vmware/driver.map.d/sky2-1.map' is claimed by multiple non-overlay VIBs: {'VFrontDe_bootbank_net51-drivers_1.1.0-1vft.510.0.0.799733',
'VFrontDe_bootbank_net51-sky2_1.20-2vft.510.0.0.799733'}
警告: File path of '/etc/vmware/driver.map.d/r8169.map' is claimed by multiple non-overlay VIBs: {'VFrontDe_bootbank_net51-r8169_6.011.00-2vft.510.0.0.799733',
'VFrontDe_bootbank_net51-drivers_1.1.0-1vft.510.0.0.799733'}
警告: File path of '/usr/share/hwdata/driver.pciids.d/r8169.ids' is claimed by multiple non-overlay VIBs: {'VFrontDe_bootbank_net51-r8169_6.011.00-2vft.510.0.0.799733',
'VFrontDe_bootbank_net51-drivers_1.1.0-1vft.510.0.0.799733'}
警告: File path of '/usr/lib/vmware/vmkmod/r8169' is claimed by multiple non-overlay VIBs: {'VFrontDe_bootbank_net51-r8169_6.011.00-2vft.510.0.0.799733',
'VFrontDe_bootbank_net51-drivers_1.1.0-1vft.510.0.0.799733'}
警告: File path of '/etc/vmware/driver.map.d/r8168.map' is claimed by multiple non-overlay VIBs: {'VFrontDe_bootbank_net51-drivers_1.1.0-1vft.510.0.0.799733',
'Realtek_bootbank_net55-r8168_8.045a-napi'}
警告: File path of '/usr/lib/vmware/vmkmod/r8168' is claimed by multiple non-overlay VIBs: {'VFrontDe_bootbank_net51-drivers_1.1.0-1vft.510.0.0.799733',
'Realtek_bootbank_net55-r8168_8.045a-napi'}
警告: File path of '/etc/vmware/driver.map.d/sky2.map' is claimed by multiple non-overlay VIBs: {'VFrontDe_bootbank_net51-drivers_1.1.0-1vft.510.0.0.799733',
'VFrontDe_bootbank_net51-sky2_1.20-2vft.510.0.0.799733'}
警告: File path of '/usr/share/hwdata/driver.pciids.d/sky2.ids' is claimed by multiple non-overlay VIBs: {'VFrontDe_bootbank_net51-drivers_1.1.0-1vft.510.0.0.799733',
'VFrontDe_bootbank_net51-sky2_1.20-2vft.510.0.0.799733'}
警告: File path of '/usr/lib/vmware/vmkmod/sky2' is claimed by multiple non-overlay VIBs: {'VFrontDe_bootbank_net51-drivers_1.1.0-1vft.510.0.0.799733',
'VFrontDe_bootbank_net51-sky2_1.20-2vft.510.0.0.799733'}
警告: VIB VFrontDe_bootbank_net51-drivers_1.1.0-1vft.510.0.0.799733 requires vmkapi_2_1_0_0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIBs (Realtek_bootbank_net55-r8168_8.045a-napi, VFrontDe_bootbank_net51-drivers_1.1.0-1vft.510.0.0.799733) are conflicting with each other
警告: VIB VFrontDe_bootbank_net51-r8169_6.011.00-2vft.510.0.0.799733 requires vmkapi_2_1_0_0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIBs (Realtek_bootbank_net55-r8168_8.045a-napi, VFrontDe_bootbank_net51-drivers_1.1.0-1vft.510.0.0.799733, VFrontDe_bootbank_net51-r8169_6.011.00-2vft.510.0.0.799733,
VFrontDe_bootbank_net51-sky2_1.20-2vft.510.0.0.799733) are conflicting with each other
警告: VIB Realtek_bootbank_net-r8101_1.020.00-1 requires com.vmware.driverAPI-9.2.0.0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIB SysKonnect_bootbank_net-skge_1.13-1 requires vmkapi_2_0_0_0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIB Realtek_bootbank_net-r8139too_0.9.28-1 requires vmkapi_2_0_0_0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIB Realtek_bootbank_net-r8139too_0.9.28-1 requires com.vmware.driverAPI-9.2.0.0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIB GLRoman_bootbank_net-e1000e_3.1.0.2-glr2 requires vmkapi_2_0_0_0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIB Atheros_bootbank_net-atl1e_1.0.1.14-1 requires com.vmware.driverAPI-9.2.0.0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIB GLRoman_bootbank_net-e1000e_3.1.0.2-glr2 requires com.vmware.driverAPI-9.2.0.0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIB Atheros_bootbank_net-atl1e_1.0.1.14-1 requires vmkapi_2_0_0_0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIB Atheros_bootbank_net-atl1_2.1.3-1 requires com.vmware.driverAPI-9.2.0.0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIBs (VFrontDe_bootbank_net51-drivers_1.1.0-1vft.510.0.0.799733, VFrontDe_bootbank_net51-r8169_6.011.00-2vft.510.0.0.799733) are conflicting with each other
警告: VIBs (VFrontDe_bootbank_net51-drivers_1.1.0-1vft.510.0.0.799733, VFrontDe_bootbank_net51-sky2_1.20-2vft.510.0.0.799733) are conflicting with each other
警告: VIB SysKonnect_bootbank_net-skge_1.13-1 requires com.vmware.driverAPI-9.2.0.0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIB Atheros_bootbank_net-atl1_2.1.3-1 requires vmkapi_2_0_0_0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIB VFrontDe_bootbank_net51-sky2_1.20-2vft.510.0.0.799733 requires vmkapi_2_1_0_0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIB DEC_bootbank_net-tulip_1.1.15-1 requires vmkapi_2_1_0_0, but the requirement cannot be satisfied within the ImageProfile.
警告: VIB Realtek_bootbank_net-r8101_1.020.00-1 requires vmkapi_2_0_0_0, but the requirement cannot be satisfied within the ImageProfile.

All done.

Cannot convert length string (scriptio) to a number

Just trying to add some fusionIO .vibs into an ESXi 6.5 image.

I just ran the script without any parameters, (v2.8.0 downloaded from github) and this is what I get.

Environment is a Server 2012 R2 (fully patched) along with vSphere PowerCLI 5.5

The log file:

**********************
Windows PowerShell transcript start
Start time: 20200426135003
Username: mydomain\steve
RunAs User: mydomain\steve
Machine: VC01 (Microsoft Windows NT 6.3.9600.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Process ID: 7140
**********************

Running with PowerShell version 4.0 and VMware vSphere PowerCLI 5.5 Release 1 build 1295336

Connecting the VMware ESXi Software depot ...

PS>TerminatingError(Add-EsxSoftwareDepot): "Cannot convert length string (scriptio) to a number"


An unexpected error occurred:
Cannot convert length string (scriptio) to a number

If requesting support please be sure to include the log file
   C:\Users\APA~1.CLI\AppData\Local\Temp\3\ESXi-Customizer-PS-7140.log
**********************
Windows PowerShell transcript end
End time: 20200426135003
**********************

Any help appreciated

远程主机强迫关闭了一个现有的连接

Commits: fa5e39b
./ESXi-Customizer-PS.ps1 -v67 -vft -sip -load net55-r8168
...
Enter selection: ESXi-6.7.0-20220704001-standard
...
An unexpected error occurred:
[WinError 10054] 远程主机强迫关闭了一个现有的连接。

If requesting support please be sure to include the log file
C:\Users\admin\AppData\Local\Temp\ESXi-Customizer-PS-7516.log

ESXi-6.7.0-20220604001-standard | ESXi-6.7.0-20220104001-standard | ESXi-6.7.0-20211104001-standard 都会有报错

C:\Users\admin\AppData\Local\Temp\ESXi-Customizer-PS-7516.log

Using Imageprofile ESXi-6.7.0-20220704001-standard ...
(Dated 09/21/2022 13:35:37, AcceptanceLevel: PartnerSupported,
Updates ESXi 6.7 Image Profile-ESXi-6.7.0-20220704001-standard)

Load additional VIBs from Online depots ...
   Add VIB net55-r8168 8.045a-napi
 [New AcceptanceLevel: CommunitySupported]
 [OK, added]

Exporting the Imageprofile to 'C:\Users\admin\Downloads\ESXi-Customizer-PS-master\ESXi-Customizer-PS-master\ESXi-6.7.0-20220704001-standard-customized.iso'. Please be patient ...

PS>TerminatingError(Export-EsxImageProfile):“[WinError 10054] 远程主机强迫关闭了一个现有的连接。”
>> TerminatingError(Export-EsxImageProfile):“[WinError 10054] 远程主机强迫关闭了一个现有的连接。”


An unexpected error occurred:
[WinError 10054] 远程主机强迫关闭了一个现有的连接。

If requesting support please be sure to include the log file
   C:\Users\admin\AppData\Local\Temp\ESXi-Customizer-PS-7516.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.