User Tools

Site Tools


didattici:virt-manager

This is an old revision of the document!


Virtual Machine Manager

Virt-manager è il pacchetto debian per la virtualizzazione https://packages.debian.org/buster/virt-manager che si basa su QEMU + KVM

Le cartelle importanti

/var/lib/libvirt/images/archbang.qcow2

seguire queste istruzioni

  1. Creare nuova macchina virtuale
  2. Local install media (ISO)
  3. choose ISO
  4. ..
  5. ready to begin the installation
  6. (SELEZIONARE LA CASELLA) customize configuration before install
  7. Configurazione: Boot Options (IDE CDROM)

IN CASO DI ERRORE

error: Failed to start network default

Si deve eseguire questo comando come root

 # virsh net-list --all

Se l'output ci dice

default inactive no yes

In tal caso, si deve correggere con un comando che attiva il NAT con un dispositivo di rete virtuale

# virsh net-start default

Al contrario si ferma con

# virsh net-destroy default

—–

approfondimento

# virsh net-dumpxml default

<network>

<name>default</name>
<uuid>e5ff3b1b-d883-4094-a2a7-123456789012</uuid>
<forward mode='nat'/>
<bridge name='virbr0' stp='on' delay='0'/>
<mac address='12:34:00:57:76:09'/>
<ip address='192.168.122.1' netmask='255.255.255.0'>
  <dhcp>
    <range start='192.168.122.2' end='192.168.122.254'/>
  </dhcp>
</ip>

</network>

didattici/virt-manager.1593337241.txt.gz · Last modified: 2020/06/28 11:40 by profpro