Configure dhclient to use the MAC address of the system instead of Client ID

This commit is contained in:
iRaven 2024-04-28 18:38:34 -05:00
parent 15454bdfbe
commit f7da5656ee

View File

@ -65,3 +65,12 @@
path: /root/.ssh/authorized_keys
state: absent
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: