Patching centos
Add setDistribution fonction
Patch debian and update the regex for the port sequence