-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[wip] Add builder hyperv-vhd #5253
Conversation
93b8254
to
5f889d5
Compare
I am going to merge #4944 this weekend. Is there a good reason I should not? If I do there may be wasted effort on this PR. Could you have a quick look at it. |
Sorry I missed this potentially duplicate work. |
builder/hyperv/vhd/builder.go
Outdated
} | ||
|
||
// Run the steps. | ||
if b.config.PackerDebug { |
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.
This is the wrong way of doing it. Check how it's done in virtualbox-iso.
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.
Good feedback. Thanks!
This was lifted from hyperv-iso
.
Think it useful to update that builder as well?
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.
That was just fixed there.
Looks like this has been addressed on in a separate PR; closing this. |
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. |
NOTE: This is a work-in-progress. I would like early feedback.
Overview
Packer currently only supports building from an iso. This builder utilizes a source vhd rather than iso to create a hyperv image. This is intended to be similar to vmware vmx or virtualbox ovf.
Alterations
In order to reuse functionality from the iso builder, I have abstracted things from the iso builder.