Differences between revisions 14 and 15
Revision 14 as of 2017-12-13 13:26:06
Size: 1412
Comment:
Revision 15 as of 2017-12-13 13:31:04
Size: 1413
Comment:
Deletions are marked like this. Additions are marked like this.
Line 46: Line 46:
}}} }}}.

Domain Editing

Your domain is virtual hardware. This hardware is described in an XML file. The XML file is stored in /etc/libvirt/qemu/. There is one file for each domain. It is possible to use virsh to dump the XML.

virsh dumpxml clone

In a physical computer it is not a good idea to replace hardware while the computer is running. The same can be said for the virtual domain. Start by shutting down the guest, then edit the domain.

virsh edit clone

Console

During installation it is usefull to have access to the console of the domain. After the installation this is no longer needed. The following section can be removed from the configuration to disable access to the domain console.

<graphics type='spice' autoport='yes' listen='192.168.1.33'>
  <listen type='address' address='192.168.1.33'/>
  <image compression='off'/>
</graphics>

Memory

Increase or decrease the memory by editing this line.

<memory unit='KiB'>1048576</memory>
<currentMemory unit='KiB'>1048576</currentMemory>

Network Interface

Check you MAC address

<interface type='bridge'>
  <mac address='52:54:00:52:de:25'/>
  <source bridge='br0'/>
  <target dev='vnet1'/>
  <model type='virtio'/>
  <alias name='net0'/>
  <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>

.

None: Domain Editing (last edited 2021-02-19 19:14:12 by Kristian Kallenberg)