Configure dhclient to use the MAC address of the system instead of Client ID
This commit is contained in:
parent
15454bdfbe
commit
f7da5656ee
@ -65,3 +65,12 @@
|
|||||||
path: /root/.ssh/authorized_keys
|
path: /root/.ssh/authorized_keys
|
||||||
state: absent
|
state: absent
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
|
# New 04/28/24: Do not use the DHCP Client ID as our MAC Address.
|
||||||
|
- name: Configure dhclient to use the MAC address of the system instead of Client ID.
|
||||||
|
blockinfile:
|
||||||
|
state: present
|
||||||
|
insertafter: EOF
|
||||||
|
dest: /etc/dhclient/dhclient.conf
|
||||||
|
marker: "# Changed by ansible playbook: Use MAC address instead of DHCP Client ID"
|
||||||
|
content:
|
Loading…
x
Reference in New Issue
Block a user