[TUTORIAL] NFS Import Helper vmware to Proxmox

Mar 27, 2023
42
17
13
Switzerland
Hi everyone,

I have created a small Python-based helper script for importing VMware VMs stored on NFS into Proxmox VE:

GitHub: https://github.com/cybrwerk/vmware-pve-nfs-import

The underlying method is not something new or proprietary. It is based on the approach mentioned in the official Proxmox wiki: create a Proxmox VM configuration and use VMDK descriptor files that point to the existing *-flat.vmdk files on the NFS share.

The reason for building this script is that large VM migrations through the standard Proxmox import wizard can take a very long time and may require a longer downtime window. This script only automates and simplifies the manual steps around that documented method.

With this approach, the VM can be started on Proxmox with very short downtime. The disks can then be migrated to the final Proxmox target storage afterwards.

Current state:
  • Python one-script tool
  • TUI-based workflow
  • VMX parsing
  • VMDK descriptor rewrite
  • NIC mapping
  • storage selection
  • dry-run / offline-test support
  • designed for practical migration scenarios, not as a polished product
The script is provided as-is. Please test carefully before using it in production.
Feedback, suggestions and pull requests are welcome.