[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt-users] Bringing up a guest with network disabled

Hello all,

I have a KVM guest VM which is a clone of a production machine
running on a different physical server, incarnated from an 
image backup.

I want to start up the clone, but obviously it has the same IP
address at the moment, and naturally I want to avoid an IP

Normally I'd mount the clone image, go in and change the
network config to allocate a different IP, but because it's set
up with its whole disk as a LVM that's a bit painful.

Is there a simple way I can disable the networking for the
guest clone in the config file, so I can VNC into its console
and change its IP address config that way?

The devices section of the config looks like this:

    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/var/lib/libvirt/images/sonic2.img'/>
      <target dev='hda' bus='ide'/>
    <interface type='bridge'>
      <mac address='0A:F7:B6:96:BF:85'/>
      <source bridge='br0'/>
    <serial type='pty'>
      <target port='0'/>
    <console type='pty'>
      <target port='0'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5937' autoport='no' keymap='en-gb'/>

.. can I change that 'interface type' value to disable its


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]