Code Monkey home page Code Monkey logo

Comments (11)

tenthirtyam avatar tenthirtyam commented on May 31, 2024

If if recall correctly, only specific GuestOS supported UEFI. During my testing I was able to get it to work with RHEL 8 (and Windows, too) but ai've not looked at it further after the issue with cloning was resolved in vSphere 7.0 Update 2.

We can plan to test this a little further and update the README accordingly.

Ryan

from packer-examples-for-vsphere.

jbpoint avatar jbpoint commented on May 31, 2024

Windows works like charm - 2016 and 2019.
But i didnt get it to work with Ubuntu nor Almalinux. :/

Thank you :)

from packer-examples-for-vsphere.

tenthirtyam avatar tenthirtyam commented on May 31, 2024

UEFI is not a recommend Firmware option for Ubuntu 64-bit in vSphere 7.0 Update 2. You can see this when creating a VM manually under VM Options. I've found that it will fail to boot if created manually with UEFI.

That said, it should work for RHEL (with the RHEL8 option as it's recommended for the default), and for CentOS, Alma, and Rocky (using the CentOS8 type) but I've not tested the latter (yet).

Ryan

from packer-examples-for-vsphere.

tenthirtyam avatar tenthirtyam commented on May 31, 2024

I recall that the issue for UEFI with RHEL-based that extra argument is needed in the boot sequence just like is needed for RHEL 8 with UEFI.

You'll need to edit the boot_command to add <wait><leftCtrlOn>x<leftCtrlOff><wait><enter>

boot_command = ["up","e","<down><down><end><wait>"," text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/${var.http_file}","<enter><wait><leftCtrlOn>x<leftCtrlOff>"]

My initial test today, whilst I have time, shows that it will continue but will pause just past at the selection of language. I'll look at this a little further when time permits.

Ryan

from packer-examples-for-vsphere.

tenthirtyam avatar tenthirtyam commented on May 31, 2024

Resolved in commit 260dbfc.

from packer-examples-for-vsphere.

tenthirtyam avatar tenthirtyam commented on May 31, 2024

Please note, we plan to update all guestOS types for machine images in this repository to use only their "(Recommended)" firmware settings based on vSphere version support in this repository per #22 now that vSphere 7.0 Update 2 has resolved the content library OVF issue. Commit 260dbfc is a precursor to this change.

from packer-examples-for-vsphere.

jbpoint avatar jbpoint commented on May 31, 2024

My initial test today, whilst I have time, shows that it will continue but will pause just past at the selection of language. I'll look at this a little further when time permits.

Did you solve this issue? Because i am facing the same problem

from packer-examples-for-vsphere.

tenthirtyam avatar tenthirtyam commented on May 31, 2024

Yes, use:

boot_command = ["up","e","<down><down><end><wait>"," text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/${var.http_file}","<enter><wait><leftCtrlOn>x<leftCtrlOff>"]

The README has been updated.

from packer-examples-for-vsphere.

jbpoint avatar jbpoint commented on May 31, 2024

Still leads to ...

image

or with your boot commend it stucks at
[ OK ] Reached target Basic System

from packer-examples-for-vsphere.

tenthirtyam avatar tenthirtyam commented on May 31, 2024

Please paste or giat your template and variables files. I'v confirmed efi-secure worked with the updated boot command which also does not launch the UI installer.

Ryan

from packer-examples-for-vsphere.

github-actions avatar github-actions commented on May 31, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

from packer-examples-for-vsphere.

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.