https://github.com/lnsp/libvirt-hosts
Daemon thats turns libvirt network DHCP leases into hostfiles.
https://github.com/lnsp/libvirt-hosts
dhcp-leases hostfile hosts libvirt libvirt-go
Last synced: 2 months ago
JSON representation
Daemon thats turns libvirt network DHCP leases into hostfiles.
- Host: GitHub
- URL: https://github.com/lnsp/libvirt-hosts
- Owner: lnsp
- License: apache-2.0
- Created: 2020-02-29T00:38:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-29T02:51:48.000Z (over 5 years ago)
- Last Synced: 2025-02-11T16:41:55.169Z (4 months ago)
- Topics: dhcp-leases, hostfile, hosts, libvirt, libvirt-go
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libvirt-hosts
This repository contains a tool, that automatically scans libvirt networks for DHCP leases and generates a hostfile from the lease mappings.
## Usage
```bash
$ libvirt-hosts [path-to-config]
```## Configuration
An example configuration can be found in the `config.yaml` in this repository.