Generally speaking, process of making Linux VM template is quite the same like making Windows VM template, but you have to install VMM agent.
- Deploy original Linux VM as it described in this article – Install CentOS Linux on Hyper-V Virtual Machine
- Prepare VM to become it as template – install VMM agent on it.