Paste #245016 |
pasted on 27.12.2021 10:00
- Edit to this paste
- Raw
-
Compare with paste
#
Text paste
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | старое, но вроде это точно надо mkdir /mnt/d4/kvm1 sudo virsh pool-define-as storage dir - - - - "mkdir /mnt/d4/kvm1" sudo virsh pool-list --all sudo virsh pool-build storage1 sudo virsh pool-start storage1 sudo virsh pool-autostart storage1 sudo virsh pool-list --all sudo virsh pool-info storage1 новое, так я создавал машину sudo virt-install \ --virt-type=qemu \ --name test \ --ram 1024 \ --vcpus=1 \ --os-variant=generic \ --hvm \ --cdrom=/{put}/kvm/iso/debian-11.0.0-amd64-netinst.iso \ --graphics vnc,port=5901,listen=0.0.0.0 \ --network network=default,model=virtio \ --disk path=/{put}/kvm/d64.img,size=32,bus=virtio |