mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 02:29:01 +08:00
Update buildvm.sh
This commit is contained in:
parent
61276179f1
commit
5db686e4ac
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ else
|
|||
num=$((first_digit - 2))$second_digit$third_digit
|
||||
fi
|
||||
|
||||
qm create $vm_num --agent 1 --scsihw virtio-scsi-single --serial0 socket --cores $core --sockets 1 --net0 virtio,bridge=vmbr1,firewall=0
|
||||
qm create $vm_num --agent 1 --scsihw virtio-scsi-single --serial0 socket --cores $core --sockets 1 --cpu host --net0 virtio,bridge=vmbr1,firewall=0
|
||||
qm importdisk $vm_num /root/qcow/${system}.qcow2 local
|
||||
qm set $vm_num --scsihw virtio-scsi-pci --scsi0 local:${vm_num}/vm-${vm_num}-disk-0.raw
|
||||
qm set $vm_num --bootdisk scsi0
|
||||
|
|
Loading…
Reference in a new issue