Skip to content

npflan/serverteam-dhcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pretty much catered to only use for server team in npflan

oneliner for converting leases to static

cat leases |grep -E "(lease|hardware)"|awk '{ if($1 == "lease") printf($2); if($1=="hardware") print " " $3 }'|sort|awk '{split($1,a,"."); print "host ip-" a[3] "-" a[4] " {\n\thardware ethernet " $2 ";\n\tfixed-address " $1 ";\n}" }'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published