1
Fork 0
mirror of https://github.com/RGBCube/vmware-to-proxmox-migration-script synced 2025-07-25 23:47:45 +00:00

enabled qemu guest agent

This commit is contained in:
tcude 2024-02-11 21:25:45 -06:00
parent 8b6c987627
commit 7f17348275

View file

@ -119,6 +119,9 @@ function create_proxmox_vm() {
echo "VM ID is: $VM_ID"
qm create $VM_ID --name $VM_NAME --memory 2048 --cores 2 --net0 virtio,bridge=vmbr69,tag=$VLAN_TAG --bios ovmf --scsihw virtio-scsi-pci
echo "Enabling QEMU Guest Agent..."
qm set $VM_ID --agent 1
# Import the disk to the selected storage
echo "Importing disk to $STORAGE_TYPE storage..."
qm importdisk $VM_ID $raw_path $STORAGE_TYPE