feat: add local ovf/ova source support#751
Merged
Merged
Conversation
6224fa4 to
0df779b
Compare
0c3bd42 to
8b01d3c
Compare
Extends the `vsphere-clone` builder's `ovf_source` block to support local OVF/OVA files using `path`, alongside the existing remote OVF/OVA using `url` and related arguments.. Local OVF/OVA support lets users deploy virtual machines from `.ovf` (with sibling disks) or `.ova` archives on the host filesystem. - Adds `path` to `ovf_source`, mutually exclusive with `url`. - Requires the file to exist at prepare time; reject auth/TLS options when using `path`. - Adds shared OVF archive abstraction (remote + local) used by deploy and options validation. - Emits `ource_ovf_path` artifact metadata for local sources. - Updates documentation and related scripts on in-repo documentation. - Moves all OVF helper tests alongside the code in `ovf_*_test.go` files. Ref: #567 Signed-off-by: Ryan Johnson <ryan@tenthirtyam.org>
8b01d3c to
7c291aa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Note
Targeted for milestone v2.3.0.
Extends the
vsphere-clonebuilder'sovf_sourceblock to support local OVF/OVA files usingpath, alongside the existing remote OVF/OVA usingurland related arguments..Local OVF/OVA support lets users deploy virtual machines from
.ovf(with sibling disks) or.ovaarchives on the host filesystem.pathtoovf_source, mutually exclusive withurl.path.ource_ovf_pathartifact metadata for local sources.ovf_*_test.gofiles.Type
fix: Bug Fixfeat: Feature or Enhancementdocs: Documentationrefactor: Refactoringchore: Build, Dependencies, Workflows, etc.other: Other (Please describe.)Breaking Changes?
Tests
Tests have been added or updated.
Tests have been completed.
✅ All added or updated unit tests have passed.
✅ All manual tests have passed.
Documentation
Issue References
Closes #567
Release Note
Additional Information