mirror of
https://github.com/RGBCube/vmware-to-proxmox-migration-script
synced 2025-07-26 16:07:45 +00:00
script omits EFI disk when needed. qm create command updated to include discard option
This commit is contained in:
parent
f96d07c68d
commit
edaa2a6fd3
1 changed files with 6 additions and 0 deletions
|
@ -47,6 +47,12 @@ if ! virt-customize --version &> /dev/null; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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")
|
VM_NAME=$(get_input "Enter the name of the VM to migrate")
|
||||||
VLAN_TAG=$(get_input "Enter the VLAN tag" "80")
|
VLAN_TAG=$(get_input "Enter the VLAN tag" "80")
|
||||||
VM_ID=$(get_input "Enter the VM ID you would like to use in Proxmox")
|
VM_ID=$(get_input "Enter the VM ID you would like to use in Proxmox")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue