Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 327 Bytes

README.rst

File metadata and controls

11 lines (8 loc) · 327 Bytes

virt-add-static-dhcp

A quick script to take an interface attached to a libvirt VM and add a static DHCP IP for it to the appropriate libvirt network.

Usage: # virt-add-static-dhcp <domain> <network> <ip>

Requires Python 2.7+ and the libvirt development libraries (e.g. libvirt-devel on Red Hat systems)