As a work-around, you can remove the NIC from the VM before starting it, edit the network configuration files and then re-add the hardware.  This has worked for me.

On Wed, Jun 24, 2015 at 1:49 PM, Ryan, Lyle <lyle.ryan@cubic.com> wrote:

With ESX and the vSphere Client, I can enable or disable a VM’s NIC to “connect at power-on”. 

This is very useful when cloning, since you can leave the NIC not connected, power-up the VM, connect to it’s console, and modify ifcfg-eth0 etc, before bringing the VM online.

 

Is there a virsh equivalent way of doing this.

 

Thanks….Lyle

 


_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users



--

Ronald Parker
System Administrator
Customer Direct L.L.C.
P: 636-736-4017
F: 800-326-4249


CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.