DLally
Enthusiast
Enthusiast

How to convert array/vc:datastore

Jump to solution

Is there any way I can convert an array/vc:datastore to vc:datastore?  I'm trying to automate adding a drive to servers without needing user interaction for a swap drive.  I'm able to query the datastore the VM runs on, but its in an array format.

I tried just injecting custom properties to the VM prior to the actual cloning process.  It just fails with bad datastore path. 

0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal

     New disk on a new SCSI adapter at request time           

First you can take a look at the logic in this particular use case which includes adding a disk by detecting where the VM is.

View solution in original post

0 Kudos
2 Replies
admin
Immortal
Immortal

     New disk on a new SCSI adapter at request time           

First you can take a look at the logic in this particular use case which includes adding a disk by detecting where the VM is.

View solution in original post

0 Kudos
DLally
Enthusiast
Enthusiast

You're pretty much awesome.  The package listed on that page I think is what I need! Going to do some more testing now.

0 Kudos