Hello,
This is my first post here. I am hoping someone can help clarify the procedure I need to follow to create a Kali template.

I am following the general guidance for creating templates specific to my hypervisor distribution (ovirt)
https://www.ovirt.org/documentation/...hap-Templates/

The template process defines several steps that need to be accomplished:
  1. Flag the system for re-configuration
  2. Remove ssh host keys:
  3. Set HOSTNAME=localhost.localdomain
  4. Remove /etc/udev/rules.d/70-*:
  5. Remove the HWADDR line and UUID line from /etc/sysconfig/network-scripts/ifcfg-eth*.
  6. Optionally, delete all the logs from /var/log and build logs from /root.


I know how to do each item in the above list except #5, remove the HWADDR and UUID.

I did review the forums here and found two posts related to changing the MAC address.
https://forums.kali.org/showthread.p...t-each-boot-up
https://forums.kali.org/showthread.p...zation-in-Kali

It is my understanding that the techniques in the two posts I listed don't meet the objective needed to create a template. The posts mention the use of the mac changer tool. I understand that the mac changer tool is used for spoofing while the objective I need to achieve is to actually remove a MAC address.

How do I actually remove a MAC address?

Lastly, I realize my understanding of several points above could be incorrect. I appreciate your clarification if I don't have the proper understanding of a subject area.

Thank you for your input and advice.