From edaa2a6fd3ef601f26e42202d845f1e2fba91638 Mon Sep 17 00:00:00 2001 From: tcude Date: Sun, 18 Feb 2024 19:55:55 -0600 Subject: [PATCH] script omits EFI disk when needed. qm create command updated to include discard option --- vmware_to_proxmox.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vmware_to_proxmox.sh b/vmware_to_proxmox.sh index 3076dae..cd94fd9 100755 --- a/vmware_to_proxmox.sh +++ b/vmware_to_proxmox.sh @@ -47,6 +47,12 @@ if ! virt-customize --version &> /dev/null; then exit 1 fi +### Set the following variables to their respective values +echo "Using hardcoded details for VM migration" +ESXI_SERVER="default_esxi_server" # Set your ESXi server hostname/IP +ESXI_USERNAME="root" # Set your ESXi server username +ESXI_PASSWORD="your_esxi_password" # Set your ESXi server password + VM_NAME=$(get_input "Enter the name of the VM to migrate") VLAN_TAG=$(get_input "Enter the VLAN tag" "80") VM_ID=$(get_input "Enter the VM ID you would like to use in Proxmox")