Ryan, Lyle
2015-Jun-24 18:49 UTC
[libvirt-users] "connect at power-on" NIC feature equivalent to that found in ESX
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
Ron Parker
2015-Jun-24 22:50 UTC
Re: [libvirt-users] "connect at power-on" NIC feature equivalent to that found in ESX
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.
Martin Kletzander
2015-Jun-25 09:27 UTC
Re: [libvirt-users] "connect at power-on" NIC feature equivalent to that found in ESX
On Wed, Jun 24, 2015 at 05:50:47PM -0500, Ron Parker wrote:>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. >Or you can just use: <link state='down'/> https://libvirt.org/formatdomain.html#elementLink>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.>_______________________________________________ >libvirt-users mailing list >libvirt-users@redhat.com >https://www.redhat.com/mailman/listinfo/libvirt-users