-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: Provisioning Fedora CoreOS on VMware: Improvement Suggestions to GOVC Instructions #1158
Comments
@lucab @fifofonix - did we ever figure out if there are docs updates we wanted to make as part of this? |
@lucab, @dustymabe I think it is your team's call but if you do want to proceed I'd be more than happy to submit a pull request with suggested changes. I just didn't want to spend the time figuring out how to build/test the docs etc without your buy-in. |
As discussed in coreos/fedora-coreos-tracker#1158 the examples for VMware vSphere now: - tell users about alternative authentication methods - give simpler instructions for a hello-world run - reuse of library items is relegated to an optional section
I recently noticed this issue and decided to provide a PR to address your findings (as nothing happened the past year to invalidate them in my opinion). Feel free to chime in. |
As discussed in coreos/fedora-coreos-tracker#1158 the examples for VMware vSphere now: - tell users about alternative authentication methods - give simpler instructions for a hello-world run - reuse of library items is relegated to an optional section
As discussed in coreos/fedora-coreos-tracker#1158 the examples for VMware vSphere now: - tell users about alternative authentication methods - give simpler instructions for a hello-world run - reuse of library items is relegated to an optional section
@dustymabe with docs#526 having been merged I wonder whether this issue here can also be closed? |
SGTM Will Close. @fifofonix feel free to re-open if you disagree. |
Summary
As part of test day activities I followed these instructions and had some observations principally regarding the use of
govc
for deploying to vSphere 6.7:I used an ad-hoc Fedora:35 container to deploy
govc
using thednf
based instructions in link #1.Detail
Specifying vSphere Credentials
Consider using the
GOVC_USERNAME
etc environment variables instead ofgovc -u user:password@host
.In an environment where vSphere access is via Active Directory credentials may require to be expressed as
AD\user
or[email protected]
format to successfully authenticate. Both of these require careful escaping if used in thegovc session.login -u user:password@host
format. However, even when I achieved apparent successful logins with escaping I experienced subsequent errors on simplegovc
commands, e.g:This issue was resolved by moving to the environment variables method.
Directly Deploying an OVA vs Deploying via Library Template
Consider whether the example should deploy directly from an OVA as opposed to via a Library Template. Yes, having a pre-loaded template in a library is probably a good thing to do if you're deploying lots of VMs but perhaps the hello-world example should keep it simpler. This would mean replacing the library-related lines (other instructions remain as-is):
In my case I found a couple of issues with the library approach which eventually led me to deploy directly:
The text was updated successfully, but these errors were encountered: