Changed hostname during install, now CUPS has wrong hostname on web interface
During kickstart, I assign the name "newserver" to my host. Then in the post section, I download a list of serial numbers and hostnames/IP addresses, and reassign the hostname and address based on the systems' serial number.
then when I reboot, CUPS is working, and I can browse to the webpage at <hostname>:631, but if I click on any of the menus, it fails, because the link is still "newserver" instead of the new hostname. I can't find the name "newserver" in any of the CUPS configuration files.
How do I reconfigure CUPS to the new hostname? Do I need to just install CUPS after I change the hostname?
Thanks for your help!
In my Ubuntu 9.04 system, the hostname resides in /etc/hostname. It also appears in etc/hosts. Try opening those files in a text editor as root and editing them.
That worked for me when I wanted to change the computer name from whatever the factory gave it to "hammerhead" (all my computers are named after sea creatures).
|All times are GMT -5. The time now is 01:57 PM.|