Add mac addr to templates