A temporary hostname change will only last until the next system reboot, at which point the hostname will revert back to its previous state. A permanent hostname change, on the other hand, will persist even after a system reboot.