mirror of
https://github.com/linka-cloud/d2vm.git
synced 2024-11-25 17:16:25 +00:00
7 lines
198 B
Plaintext
7 lines
198 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
|
||
|
IMG=${1:-disk0.qcow2}
|
||
|
|
||
|
virt-install --disk $IMG --import --memory 4096 --vcpus 4 --nographics --cpu host --channel unix,target.type=virtio,target.name='org.qemu.guest_agent.0'
|