Create VHD from iso

1,227 views
Skip to first unread message

Milan

unread,
Oct 2, 2017, 3:40:25 PM10/2/17
to Packer
I am trying to convert an iso image to vhd file,which I am going to use the vhd to create VM's in later stages in Azure. and I dont have any details to provide  in builders (Such as Client_Id, client_secret, resource_group_name, Subscription_id, tenant_id), without passing these details can I use Packer to create a vhd file?

Thanks



Alvaro Miranda Aguilera

unread,
Oct 2, 2017, 4:14:17 PM10/2/17
to packe...@googlegroups.com
Packer doesn't do that.

Some isos are bootables as raw images but I am not sure all of them have that.

ie i know Oracle Linux can be dd into a pendrive and works

but some distris provide img files or raw files for that, then you can use any tool to convert the format to VHD. if you have virtualbox you can use VBoxManage to clone media from one format to other



On Mon, Oct 2, 2017 at 9:40 PM, Milan <mk85...@gmail.com> wrote:
I am trying to convert an iso image to vhd file,which I am going to use the vhd to create VM's in later stages in Azure. and I dont have any details to provide  in builders (Such as Client_Id, client_secret, resource_group_name, Subscription_id, tenant_id), without passing these details can I use Packer to create a vhd file?

Thanks



--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/50e9beff-2b37-47c9-88dd-c63d203ac0e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Milan

unread,
Oct 3, 2017, 10:39:49 AM10/3/17
to Packer
I just gone through the documentation page and wondering is this possible

//The Azure builder can create either a VHD, or a managed image. If you are creating a VHD, you must start with a VHD. Likewise, if you want to create a managed image you must start with a managed image. When creating a VHD the following two options are required.//

In the above line it clearly mentions that it is possible to create the vhd file in blog/ARM. anyone clarify please




On Monday, October 2, 2017 at 4:14:17 PM UTC-4, Alvaro Miranda Aguilera wrote:
Packer doesn't do that.

Some isos are bootables as raw images but I am not sure all of them have that.

ie i know Oracle Linux can be dd into a pendrive and works

but some distris provide img files or raw files for that, then you can use any tool to convert the format to VHD. if you have virtualbox you can use VBoxManage to clone media from one format to other


On Mon, Oct 2, 2017 at 9:40 PM, Milan <mk85...@gmail.com> wrote:
I am trying to convert an iso image to vhd file,which I am going to use the vhd to create VM's in later stages in Azure. and I dont have any details to provide  in builders (Such as Client_Id, client_secret, resource_group_name, Subscription_id, tenant_id), without passing these details can I use Packer to create a vhd file?

Thanks



--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages