mv config to template file
ignore gateway config