113
122
"""Convert a MAC address into a PXE config file name.
115
124
:param mac: A MAC address string in the format xx:xx:xx:xx:xx:xx.
116
126
:returns: the path to the config file.
124
136
return os.path.join(get_root_dir(), PXE_CFG_DIR_NAME, mac_file_name)