Skip to content

Reconfigure the VM to change the display name and datastore folder name after VM creation #3972

@chengwang86

Description

@chengwang86

As a vic user, on non-vsan setup, I want to have the VM display name as containerName-containerShortID, and the datastore folder name as containerID; on vsan setup, I want to have both the VM display name and the datastore folder name to be containerName-containerShortID. By doing this, I can match the output from docker ps to the VM display name on vsphere web UI.

This is first part of the docker rename support.

In the future, we may improve this feature and allow the customer to set up a customized naming template for the VM display name and datastore folder name.

Acceptance Criteria:

After a containerVM is created

On non-vsan:

  • The VM display name on the vsphere web UI should be containerName-containerShortID.
  • The datastore folder name should be containerID.

On vsan:

  • Both the VM display name on the vsphere web UI and its datastore folder name should be containerName-containerShortID.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions