Skip to content

One script adds new hosts in the lease file and creates static entries. The other script used to delete host from dhcp.conf

Notifications You must be signed in to change notification settings

smitley/DHCP_automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

DHCP_automation

addHostFromLeases.sh script finds hosts in the lease file and then creates static entries.

#Please make sure to set all of your variables correctly.

Set your lease file

leases=variable

Set a place to set dhcp leases after they have been parsed

dhcpparsed=variable

Set your dhcp.conf

dhcpconf=variable

Set your dhcp copy

dhcpcopy=variable

Set lock file variable

lf=variable

deleteHost.sh script used to delete host from dhcp.conf file

#Please make sure to set all of your variables correctly.

DHCP conf file

dhcpconf=variable

DHCP copy file

dhcpcopy=variable

About

One script adds new hosts in the lease file and creates static entries. The other script used to delete host from dhcp.conf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages