VMware {code} Community
jlegan
Contributor
Contributor

VirtualCdromRemotePassthroughBackingInfo and programatically mounting ISO's

I was writing some mountiso code today and I ran into an issue. Unlike Hyper-V and Virtual Server 2005, there is no clear way of mounting ISO's on remote file systems (SAN, NAS, etc...). ESX expects the ISO to be on a datastore.

My next step would be to attempt to accomplish my desired behavior by using RemotePassthrough. However, once I attached my console box to a remote ISO via passthrough and then enumerate it, it does not expose any properties that would assist me in figuring out how to implement this.

Does anyone have a code snippet (doesn't matter which language, my web service is in C#) that mounts an ISO from a network share?

Thanks,

Jim

Reply
0 Kudos
3 Replies
jlegan
Contributor
Contributor

It seems to be spoofing this by proxying /usr/lib/vmware/isoimages/windows.iso or /usr/lib/vmware/isoimages/linux.iso depending on the OS.

Is it possible that VMWare does not give developers the ability to mount remote ISO's programatically?

Reply
0 Kudos
bsteiner
Contributor
Contributor

Jim, did you ever find a solution for this?

Reply
0 Kudos
mcowger
Immortal
Immortal

Dont forget that to ESX, a NAS is a datastore.






--Matt

VCP, vExpert, Unix Geek

--Matt VCDX #52 blog.cowger.us
Reply
0 Kudos