dhcpd: Install and configure ISC DHCPD
This commit is contained in:
10
roles/dhcpd/vars/main.yml
Normal file
10
roles/dhcpd/vars/main.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
dyn_hostname_expr: >-
|
||||
pick(option fqdn.hostname, option host-name,
|
||||
concat("{prefix}", concat(
|
||||
suffix(concat("0", binary-to-ascii(16, 8, "", substring(hardware, 1, 1))), 2),
|
||||
suffix(concat("0", binary-to-ascii(16, 8, "", substring(hardware, 2, 1))), 2),
|
||||
suffix(concat("0", binary-to-ascii(16, 8, "", substring(hardware, 3, 1))), 2),
|
||||
suffix(concat("0", binary-to-ascii(16, 8, "", substring(hardware, 4, 1))), 2),
|
||||
suffix(concat("0", binary-to-ascii(16, 8, "", substring(hardware, 5, 1))), 2),
|
||||
suffix(concat("0", binary-to-ascii(16, 8, "", substring(hardware, 6, 1))), 2)
|
||||
)))
|
||||
Reference in New Issue
Block a user