Při klonování virtuálního stroje (VM) se vyskytuje nepříjemná chyba související s jeho konfiguračním souborem. V tomto souboru je sekce:
<channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-test/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel>
kde test je název VM. Při klonování příkazem:
se v cestě tento název nezmění z test na test2 a pokud VM test neběží, nová VM test2 se nespustí a zobrazí se chyba:
Abychom to napravili, musíme ručně změnit název VM v cestě z test na test2, tedy výsledkem bude:
<channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-test2/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel>
a poté spustit příkaz:
