Skip to content
This repository has been archived by the owner on Jan 30, 2021. It is now read-only.

Cannot deploy custom marketplace images #212

Open
symgryph opened this issue Jan 11, 2018 · 4 comments
Open

Cannot deploy custom marketplace images #212

symgryph opened this issue Jan 11, 2018 · 4 comments

Comments

@symgryph
Copy link

When I put in a custom marketplace image (which I have enabled programmatic deployment in my subscription) I get the following error:

"Creating a virtual machine from Marketplace image requires Plan information in the request."

I found the following on microsoft's site about plan info:

"plan": {
"name": "[parameters('imageSKU')]",
"publisher": "[variables('imagePublisher')]",
"product": "[variables('imageOffer')]"
}

Not sure where to add in vagrant file, or if code is broken.

@ticktockhouse
Copy link

Bump.

It looks like the provider cannot generate a correctly formatted request for the Azure API. It's very similar to this issue in packer: hashicorp/packer#3506

@zepptron
Copy link

obviously nobody is working on this repository anymore but maybe someone has at least an idea how to solve this?

@devigned
Copy link
Member

devigned commented Oct 31, 2019

I believe the change would land in a few places:

It's been a long time since I've worked on this project. If it hasn't been forked, it probably should be.

I'm happy to provide guidance if folks have questions.

@jbeker
Copy link

jbeker commented Jan 4, 2021

So, I do have a fork that fixes this issue: https://github.com/jbeker/vagrant-azure

I added 3 new params:

azure.vm_plan_name = '12_2-release'
azure.vm_plan_publisher = 'thefreebsdfoundation'
azure.vm_plan_product = 'freebsd-12_2'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants