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

Custom Windows image creates Linux disk instead of Windows disk #230

Open
JSchissler opened this issue Jul 12, 2019 · 1 comment
Open

Custom Windows image creates Linux disk instead of Windows disk #230

JSchissler opened this issue Jul 12, 2019 · 1 comment

Comments

@JSchissler
Copy link

JSchissler commented Jul 12, 2019

I generalized a VHD, uploaded it to Azure and created an image in Azure from this VHD.
When deploying with vagrant up the resources are created. However, the OS disk is created as Linux and not as Windows.
The image is created as Windows.

In the vagrantfile the following entries are made:

azure.vm_managed_image_id = '/subscriptions/subscriptionid/resourceGroups/resourcegroupname/providers/Microsoft.Compute/images/AZDeploy_gen'.

azure.vm_operating_system = "Windows"
etc.

I can create a VM using this image in the azure portal successfully.

What is the problem?
I would be happy to provide further information if necessary.

@JSchissler
Copy link
Author

no solution to the problem?

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

1 participant