govmomi virtual machine linux #3630
Unanswered
feiqipengcheng
asked this question in
Q&A
Replies: 1 comment
-
API provides GuestDiskInfo, but that doesn't have all partition details. But you can use GuestOperationsManager to run commands in guest and transfer files in+out. There is a higher-level "toolbox" API around this in govmomi, see example: govmomi/guest/toolbox/example_test.go Lines 48 to 59 in 46c15fb |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Do I want to obtain detailed partition information of a virtual machine (including the disk and partition name) through govmomi? If there is no corresponding interface, can Linux instructions be executed on the virtual machine through govmomi?
Beta Was this translation helpful? Give feedback.
All reactions