Skip to content
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

Ability to force the import of an OVA #3210

Closed
fad3t opened this issue Aug 18, 2023 · 4 comments
Closed

Ability to force the import of an OVA #3210

fad3t opened this issue Aug 18, 2023 · 4 comments

Comments

@fad3t
Copy link

fad3t commented Aug 18, 2023

Hello,

I'm trying to import the latest version of an OVA (Ubuntu cloud images) which is already present on the vCenter -- however the build is older. When doing the import.ova I'm getting the following (expected) error:

govc: The name 'jammy-server-cloudimg-amd64' already exists.

I was hoping there would be a -force=true flag as in the import.vmdk command but that's not the case. Any chance this could get implemented? Or would there be a workaround to this?

Thank you

@github-actions
Copy link
Contributor

Howdy 🖐   fad3t ! Thank you for your interest in this project. We value your feedback and will respond soon.

If you want to contribute to this project, please make yourself familiar with the CONTRIBUTION guidelines.

@fad3t
Copy link
Author

fad3t commented Nov 6, 2023

Hi, any feedback on this? Thanks

Copy link
Contributor

github-actions bot commented Feb 5, 2024

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Mark as fresh by adding the comment /remove-lifecycle stale.

@fad3t
Copy link
Author

fad3t commented Feb 5, 2024

In case anyone else is looking for this feature, I worked around by doing this:

govc vm.destroy jammy-server-cloudimg-amd64 || true
govc import.ova -ds=<DATASTORE> -name=jammy-server-cloudimg-amd64 -options=<OPTS> <URL>

@fad3t fad3t closed this as completed Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant