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

[wip] Add builder hyperv-vhd #5253

Closed
wants to merge 12 commits into from
Closed

Conversation

BSick7
Copy link

@BSick7 BSick7 commented Aug 15, 2017

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.

  • guest additions
  • sizing (ram + disk)

@BSick7 BSick7 changed the title [wip] Add provider hyperv-vhd [wip] Add builder hyperv-vhd Aug 15, 2017
@BSick7 BSick7 force-pushed the hyperv-vhd branch 2 times, most recently from 93b8254 to 5f889d5 Compare August 15, 2017 14:14
@taliesins
Copy link
Collaborator

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.

@BSick7
Copy link
Author

BSick7 commented Aug 16, 2017

Sorry I missed this potentially duplicate work.
I'll post some comments on that thread.

}

// Run the steps.
if b.config.PackerDebug {
Copy link
Collaborator

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.

Copy link
Author

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?

Copy link
Collaborator

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.

@SwampDragons
Copy link
Contributor

Looks like this has been addressed on in a separate PR; closing this.

@ghost
Copy link

ghost commented Apr 1, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants