How to get disk.rm to work? #3280
-
|
I'm working on automating an OS upgrade. I do this by using govc to create a temp disk to a VM to be used by the upgrade and when the upgrade is completed I need to now remove the disk but I can't find a way to get this to work. I've run: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Sorry for the delayed response. disk.rm is for First Class Disks, i.e. created with disk.create or disk.register. |
Beta Was this translation helpful? Give feedback.
Sorry for the delayed response. disk.rm is for First Class Disks, i.e. created with disk.create or disk.register.
Sounds like you need to use device.remove here.