Description: adds a new client to the dhcpd.conf and restarts the dhcpd-server
Parameter:
- clientName: name of the client
- ip: ip address of the client
- netmask: netmask for the ip
- mac: mac addresse of the network card
- bootType: Parameter can be boolean for backward compatibility: if true use PXE for the client, otherwise use Etherboot
- bootType: Parameter can a string: pxe, etherboot, gpxe, none
- gateway: The gateway for the client.
- updateDB: If set to true, the boot type is set for the client in the DB.
Returns:
- true, if the DHCP server could be restarted with the new settings.
root
2015-09-06