-
Notifications
You must be signed in to change notification settings - Fork 1.5k
installconfig: libvirt image prompt #372
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
installconfig: libvirt image prompt #372
Conversation
wking
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pkg/asset/installconfig/platform.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: os -> OS
pkg/asset/installconfig/platform.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spin this off into a local helper function to share with the libvirtd URI query?
pkg/asset/installconfig/platform.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The help makes this clear, but it might be worth updating this message to be Libvirtd URI to help folks who just need a small hint ;).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
personally i feel URI is enough. Do you have strong opinions on renaming it to LibvirtdURI ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant to rename this to Libvirt Connection URI a while back.
Add prompt for libvirt image, no change in default.
141dbac to
7668f90
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, wking The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
| Question: &survey.Question{ | ||
| Prompt: &survey.Input{ | ||
| Message: "Image", | ||
| Help: "URI for the OS image.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
URI of the OS image
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * `OPENSHIFT_INSTALL_LIBVIRT_IMAGE`: | ||
| The URI for the OS image. | ||
| For example it might be url like `http://aos-ostree.rhev-ci-vms.eng.rdu2.redhat.com/rhcos/images/cloud/latest/rhcos-qemu.qcow2.gz` or | ||
| a local file like `/tmp/openshift-install-853528428`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
file:///tmp/openshift-install-853528428
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixes missed in PR #372
Add prompt for libvirt image, no change in default.
/cc @wking @crawford