Git Product home page Git Product logo

Comments (4)

jellybean13 avatar jellybean13 commented on August 18, 2024

After debugging, the problem is that the value of "version" in a spec JSON file is String rather than set. In other words, using a bundle containing multiple versions such as VMware ESXi 7.0U3d ("7.0.3-0.35.19482537", "7.0.3-0.30.19482531") will encounter an error owing to invalid data type.

Workaround method:

  1. Execute "create_custom_esxi_iso.ps1". It ends with errors.
  2. Modify spec JSON file. Select a version in this file, and make sure the type of "version" is String.
    Example:
    { "base_image": { "version": "7.0.3-0.35.19482537" }, "components": { "Net-Community-Driver": "1.2.7.0-1vmw.700.1.0.15843807" } }
  3. Comment the following codes in "create_custom_esxi_iso.ps1" to disable spec JSON file auto-generation.
    image
  4. Execute "create_custom_esxi_iso.ps1" again, a custom ISO file will be successfully generated.

from vmware-scripts.

frank1119 avatar frank1119 commented on August 18, 2024

I think replacing

$ESXIBaseImageVersion = (Get-DepotBaseImages -Depot $ESXIBaseImagePath).Version

with

$ESXIBaseImageVersion = (Get-DepotBaseImages -Depot $ESXIBaseImagePath).Version | select -first 1

might be sufficient?

Update: I see somebody else created already a pull request for this issue...

from vmware-scripts.

eng-rsalha avatar eng-rsalha commented on August 18, 2024

Hello everyone,
i used the script and modified the multiple versions error above to be single one as a string under "VMware-ESXi-7.0U3f-20036589-depot.zip" the latest one right now..
but another error message appears:
( New-IsoImage : For "msg" expected type str, but got tuple )

image

any help guys..
appreciated.

from vmware-scripts.

eng-rsalha avatar eng-rsalha commented on August 18, 2024

@lamw @jellybean13 @jthat @frank1119

from vmware-scripts.

Related Issues (20)

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.