Skip to main content

Renaming a VMware virtual machine prior to import

Introduction

This document describes the process of changing the VMware virtual machine name prior to importing it into your vSphere environment. You cannot rename an OVA file prior to importing it.

Configuration Steps

  1. Right-click on original OVA file. ( e.g. SecureAuth-XXXX.ova.)

    26181781.jpg
  2. Select 7-zip File Manager or WinZip to Extract to SecureAuth-XXXX\.

  3. Once extraction is complete, rename the new folder to the name you want for the image.

    26181782.jpg

    Note

    The following files are extracted: .vmdk, .mf and a .ovf file. Depending on how many disks, you may have additional .vmdk files.

    26181783.jpg
  4. Delete the .mf file.

  5. Right-click on the .OVF file and rename the .OVF file.

  6. Right-click on the renamed .OVF file and open it using Notepad or Textpad.

    26181784.jpg
  7. Search for <File ovf:href="SecureAuth-XXXX-disk1.vmdk" and rename it to the new name, but leaving the -disk1.vmdk at the end of the file name.

  8. Search for <VirtualSystem ovf:id="SecureAuth-XXXX"> and rename it to the new name.

  9. Search for <Name>SecureAuth-XXXX</Name> and rename it to the new name.

  10. Search for <vssd:VirtualSystemIdentifier>SecureAuth-XXXX</vssd:VirtualSystemIdentifier> and rename it to the new name.

    26181802.jpg
  11. Save the file and close.

  12. On the SecureAuth-XXXX-disk1.vmdk, rename only the SecureAuth-XXXX part of the file name.

    Warning

    Do not change -disk1.vmdk.

    26181790.jpg
  13. Once changes are made, deploy the OVF image to your vSphere Environment from the folder. Do not deploy the original .OVA file. If you require the import media to be an OVA, you can use the VMware Open Virtualization Format Tool to convert the OVF structure to an OVA format.

    26181793.jpg