mirror of
https://github.com/RGBCube/vmware-to-proxmox-migration-script
synced 2025-07-26 07:57:46 +00:00
enabled qemu guest agent
This commit is contained in:
parent
8b6c987627
commit
7f17348275
1 changed files with 3 additions and 0 deletions
|
@ -119,6 +119,9 @@ function create_proxmox_vm() {
|
||||||
echo "VM ID is: $VM_ID"
|
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
|
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
|
# Import the disk to the selected storage
|
||||||
echo "Importing disk to $STORAGE_TYPE storage..."
|
echo "Importing disk to $STORAGE_TYPE storage..."
|
||||||
qm importdisk $VM_ID $raw_path $STORAGE_TYPE
|
qm importdisk $VM_ID $raw_path $STORAGE_TYPE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue