VMware Cloud Community
JoJoGabor
Expert
Expert

VCAC Guest Agent and GPT Partitions

Has anyone got an elegant way of forcing the Guest Agent to partition windows using GPT partitions instead of MBR?

I could do this via Powershell but don't really want to. The only way I can see is to modify the scripts that come as part of the VRMGuestAgent. I can add the correct lines into diskpat_exec.js to modify the diskpart scripts. Of course if I ever reinstall this agent or it is upgraded, I need to remember these modifications, which makes me nervous.

Reply
0 Kudos
1 Reply
daphnissov
Immortal
Immortal

Changing the JavaScript would certainly do it. You could also do it in PowerShell and call that script via the guest agent if you generalized it in such a way that it scanned to see if there was anything to format and then go do the work. Of course, that would have to be done carefully. Or if you have an Enterprise license, you could do basically the same thing but as a software component that you apply to your given blueprint.

Reply
0 Kudos