What does system-config-network-tui do? To find this out, run it and set the hostname to something weird like "booger". Then run a find across all files in the etc folder to look for files that matched. There are much better ways to do this....
sudo find /etc/. | xargs grep 'booger' -sl
As an alternative, run a series of find commands to see what was "touched".
#file accessed within a period of minutes
sudo find /etc -amin -2
#file status changed within a period of minutes
sudo find /etc -cmin -2
#file modified within a period of minutes
sudo find /etc -mmin -2
The bottom line is that system-config-network-tui is doing way more that simply touching a couple of lines in /etc/hosts and /etc/sysconfig/network.