User Tools

Site Tools


unix:virtualization:virtlib:quickreference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
unix:virtualization:virtlib:quickreference [2023/02/26 17:12] rodolicounix:virtualization:virtlib:quickreference [2025/01/24 23:58] (current) rodolico
Line 32: Line 32:
       * This will attach a new bridge to domain //domain//, using //bridge// defined on hypervisor, called vnet3 on the virtual, with the mac address set to whatever you use.       * This will attach a new bridge to domain //domain//, using //bridge// defined on hypervisor, called vnet3 on the virtual, with the mac address set to whatever you use.
     * detach-interface //domain// --type bridge --mac 00:16:3e:xx:xx:xx --config     * detach-interface //domain// --type bridge --mac 00:16:3e:xx:xx:xx --config
 +  * Attach/Detach Block Device
 +    * virsh detach-disk router sda --config
 +    * virsh attach-disk router /dev/vg/lvname sda --config --targetbus=virtio
   * Remove virtual image (config file only)<code bash> virsh undefine domainname</code>   * Remove virtual image (config file only)<code bash> virsh undefine domainname</code>
   * **change-media //name// //drive//** - Insert or Eject a CDROM   * **change-media //name// //drive//** - Insert or Eject a CDROM
unix/virtualization/virtlib/quickreference.txt · Last modified: 2025/01/24 23:58 by rodolico