Add :libvirt_host_ip and :libvirt_dhcp_start/stop

This allows networks with gateways on addresses other
than .1 (.254 is a popular choice).

Resolves #357.
This commit is contained in:
Felix Kaiser
2015-05-06 19:51:26 +02:00
parent 3e79a37ad2
commit ae37f17de8
2 changed files with 17 additions and 7 deletions

View File

@@ -240,8 +240,14 @@ starts with 'libvirt__' string. Here is a list of those options:
network 'default' is used.
* `:libvirt__netmask` - Used only together with `:ip` option. Default is
'255.255.255.0'.
* `:libvirt__host_ip` - Adress to use for the host (not guest).
Default is first possible address (after network address).
* `:libvirt__dhcp_enabled` - If DHCP will offer addresses, or not. Used only
when creating new network. Default is true.
* `:libvirt__dhcp_start` - First address given out via DHCP.
Default is third address in range (after network name and gateway).
* `:libvirt__dhcp_stop` - Last address given out via DHCP.
Default is last possible address in range (before broadcast address).
* `:libvirt__dhcp_bootp_file` - The file to be used for the boot image.
Used only when dhcp is enabled.
* `:libvirt__dhcp_bootp_server` - The server that runs the DHCP server.