Guest User

Untitled

a guest
Nov 16th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. virt-install -n web_devel -r 2048 --disk path=/var/lib/libvirt/images/web_devel.img,bus=virtio,size=16 -c /var/lib/libvirt/images/ubuntu-18.04.1-live-server-amd64.iso --network network=default,model=virtio --graphics vnc,listen=0.0.0.0 --noautoconsole -v
  2.  
  3. <disk type='file' device='disk'>
  4. <driver name='qemu' type='qcow2'/>
  5. <source file='/var/lib/libvirt/images/web_devel.img'/>
  6. <target dev='vda' bus='virtio'/>
  7. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  8. </disk>
  9.  
  10. <disk type='block' device='disk'>
  11. <driver name='qemu' type='raw' cache='none' io='native'/>
  12. <source dev='/dev/cloud/test_web_devel'/>
  13. <target dev='vda' bus='virtio'/>
  14. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  15. </disk>
Add Comment
Please, Sign In to add comment