esxi-datastore-parted

Migrate virtual NIC (vmk) from Standard vSwitch to Distributed vSwitch

This task runs inside ESXi and uses the partedUtil and vmkfstools to create an ESXi Datastore.

It parses the esxi/datastore-mappings Param, allowing for unified datastore creation via this Task, or the govc-datastore-manage Task which uses external API calls. In some cases, those external API calls do not work.

The esxi/datastore-mappings structure must have a "tool": "parted" directive to specify that the Datastore should be created via this tooling. Any datastore definition without this, or with the "tool": "govc" will be managed by the govc-datastore-manage Task.

See the esxi/datastore-mappings Param for detailed usage documentation. The esxi/datastore-memberships Param is ignored in this Task, if the Machine has the mappings Param, and it's set to parted as the tool, the datastore will be attempted to be created.