otherwiseguy / virt-add-static-dhcp

Add static DHCP entries for an interface in a libvirt VM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

Add static DHCP entries for an interface in a libvirt VM

License:MIT License


Languages

Language:Python 100.0%