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

2013-10-05 Thread James Gibbon
On Tue, 01 Oct 2013 15:46:52 -0400 Jorge Fábregas wrote: > On 10/01/2013 09:29 AM, James Gibbon wrote: > > Would be grateful if someone could suggest a way to disable > > the networking in the cloned VM within the XML, if that's > > possible. > > I have no idea if it's possible to "disable" the

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

2013-10-02 Thread Jorge Fábregas
On 10/01/2013 11:40 PM, Gao Yongwei wrote: > try : virsh domif-setlink Thanks Gao! I didn't know that one! I did it right now on a WinXP VM: virsh domif-setlink WinXP 52:54:00:f1:b7:27 down ...and right away I saw on the guest "A network cable is unplugged". The man page says we can use the M

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

2013-10-01 Thread Gao Yongwei
2013/10/2 Jorge Fábregas > On 10/01/2013 09:29 AM, James Gibbon wrote: > > Would be grateful if someone could suggest a way to disable the > networking in the > > cloned VM within the XML, if that's possible. > > I have no idea if it's possible to "disable" the NIC on the VM > definition but you

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

2013-10-01 Thread Jorge Fábregas
On 10/01/2013 09:29 AM, James Gibbon wrote: > Would be grateful if someone could suggest a way to disable the networking > in the > cloned VM within the XML, if that's possible. I have no idea if it's possible to "disable" the NIC on the VM definition but you could boot into runlevel 1 (where th

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

2013-10-01 Thread Eric Blake
On 10/01/2013 07:29 AM, James Gibbon wrote: > Thanks, looks really useful but unfortunately I don't have it > on this particular machine, which is going to be decommissioned > in a few weeks anyway. The cloned VM will only be used for > testing purposes, and only for a short time. Would be grateful

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

2013-10-01 Thread James Gibbon
On Tue, 01 Oct 2013 06:10:46 -0600 Eric Blake wrote: > On 10/01/2013 06:04 AM, James Gibbon wrote: > > > > > > 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. > > Careful. You

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

2013-10-01 Thread Eric Blake
On 10/01/2013 06:04 AM, James Gibbon wrote: > > > 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. Careful. You need to scrub more than just the IP address for a clone and it's parent to

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

2013-10-01 Thread James Gibbon
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 conflict. Normally I'd m