add script to fix up registry ip in template json

+1 for splitting it into two lines for readability