unix:virtualization:virtlib:quickreference
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
unix:virtualization:virtlib:quickreference [2022/07/22 16:59] – rodolico | unix:virtualization:virtlib:quickreference [2025/01/24 23:58] (current) – rodolico | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== virt-lib Quick Reference ====== | ====== virt-lib Quick Reference ====== | ||
+ | |||
+ | virtlib stores its configuration for each //domain// (virtual) in / | ||
+ | |||
+ | The xml files are, well, xml. The format is documented at https:// | ||
===== virt-top ===== | ===== virt-top ===== | ||
Line 28: | 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: | * detach-interface //domain// --type bridge --mac 00: | ||
+ | * Attach/ | ||
+ | * virsh detach-disk router sda --config | ||
+ | * virsh attach-disk router / | ||
* Remove virtual image (config file only)< | * Remove virtual image (config file only)< | ||
* **change-media //name// //drive//** - Insert or Eject a CDROM | * **change-media //name// //drive//** - Insert or Eject a CDROM | ||
Line 266: | Line 273: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | You can now do things like <code bash> | ||
+ | |||
+ | ===== Adding USB Drive Image ===== | ||
+ | |||
+ | Building and using a USB Thumbdrive image is a little weird, but it can be done. See [[software: | ||
===== Links ===== | ===== Links ===== |
unix/virtualization/virtlib/quickreference.1658527141.txt.gz · Last modified: 2022/07/22 16:59 by rodolico