From 14fa3574b6cece481d0b9cf7399d696dabe7c9d1 Mon Sep 17 00:00:00 2001 From: tcude Date: Thu, 18 Jan 2024 16:17:30 -0600 Subject: [PATCH] cleaned up comments --- vmware_to_proxmox.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/vmware_to_proxmox.sh b/vmware_to_proxmox.sh index 55b670b..fba18d7 100755 --- a/vmware_to_proxmox.sh +++ b/vmware_to_proxmox.sh @@ -68,7 +68,7 @@ function create_proxmox_vm() { exit 1 fi - # Extract OVF from OVA + # Extract OVF from OVA echo "Extracting OVF from OVA..." ssh $PROXMOX_USERNAME@$PROXMOX_SERVER "tar -xvf /var/vm-migration/$VM_NAME.ova -C /var/vm-migration/" @@ -87,11 +87,7 @@ function create_proxmox_vm() { echo "Converting .vmdk file to raw format..." ssh $PROXMOX_USERNAME@$PROXMOX_SERVER "qemu-img convert -f vmdk -O raw $vmdk_file $raw_path" - # Create the VM with UEFI if needed - #echo "Creating VM in Proxmox with UEFI..." - #ssh $PROXMOX_USERNAME@$PROXMOX_SERVER "qm create $VM_ID --name $VM_NAME --memory 2048 --cores 2 --net0 virtio,bridge=vmbr0 --bios ovmf" - -# Create the VM with UEFI, VLAN tag, and specify the SCSI hardware + # Create the VM with UEFI BIOS, VLAN tag, and specify the SCSI hardware echo "Creating VM in Proxmox with UEFI, VLAN tag, and SCSI hardware..." ssh $PROXMOX_USERNAME@$PROXMOX_SERVER "qm create $VM_ID --name $VM_NAME --memory 2048 --cores 2 --net0 virtio,bridge=vmbr69,tag=$VLAN_TAG --bios ovmf --scsihw virtio-scsi-pci"