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

Eric Blake eblake at redhat.com
Tue Oct 1 14:38:21 UTC 2013


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 if
> someone could suggest a way to disable the networking in the
> cloned VM within the XML, if that's possible.

Have you tried just removing the network device from the xml altogether,
then booting the guest, then hot-plugging a replacement device?  The
hotplug action would force the guest to negotiate a new IP address.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20131001/de1d91a9/attachment.sig>


More information about the libvirt-users mailing list