I referenced the IP in a few places, this “script” (bash, sort of) makes it possible, in a single fog, single master install to change the IP where it needs to be done…
[CODE]IP=XX.XX.XX.XX
mysql -e “UPDATE globalSettings SET settingValue = ‘$IP’ WHERE settingKey IN (‘FOG_TFTP_HOST’, ‘FOG_WEB_HOST’, ‘FOG_WOL_HOST’);” fog
mysql -e “UPDATE nfsGroupMembers SET ngmHostname = ‘$IP’ WHERE ngmID = 1;” fog
sed -i "s;chain http://([^/]+)/;chain http://$IP/;" /tftpboot/default.ipxe
[/CODE]