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

Support patching an ARM template. #3665

Closed
wants to merge 2 commits into from

Conversation

boumenot
Copy link
Collaborator

Patching support is based on RFC 6902. Users have the ability to patch
the ARM virtual machine template before it is submitted to Azure for
processing.

Add a dependency on evanphx/json-patch to support JSON patching.

Closes #3506

@boumenot boumenot self-assigned this Jun 30, 2016
@@ -9,6 +9,7 @@ import (
"github.com/mitchellh/packer/builder/azure/common/approvals"
"github.com/mitchellh/packer/builder/azure/common/constants"
"github.com/mitchellh/packer/builder/azure/common/template"
"io/ioutil"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix formatting.

"golang.org/x/crypto/ssh"
"os"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format, move up

@paulmey
Copy link
Collaborator

paulmey commented Jul 15, 2016

Should we also update documentation on the website?

return err
}

c.armTemplatePatch = &patch
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason to take the address of patch, it's a slice Type.

@boumenot boumenot force-pushed the pr-template-patching branch from 7bab2ee to 9fc1765 Compare July 29, 2016 04:46
azure: Support for a user defined VNET.
Patching support is based on RFC 6902.  Users have the ability to patch
the ARM virtual machine template before it is submitted to Azure for
processing.

Add a dependency on evanphx/json-patch to support JSON patching.
@paulmey
Copy link
Collaborator

paulmey commented Aug 10, 2016

Looks like this needs a rebase...? @boumenot

@sylus
Copy link

sylus commented Jan 9, 2018

@boumenot I will happily review your P.R. or whatever work is needed to get this pushed out. Let me know how I can help.

@cloudbooster
Copy link
Contributor

I think we should just focus on having plan information added and make this simpler, take plan information as an additional optional filed and then pass this along on the VM create operation. In addition would should also tag the image with the plan information so that its available for the users who would need to use the custom image.

@ghost
Copy link

ghost commented Apr 2, 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 2, 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.

Creating image from some Azure Marketplace Images requires additional items in the ARM template.
5 participants