Change PBX hostname from command line interface.

login to CLI interface with putty.

hostnamectl set-hostname a.b.c

example:  hostnamectl set-hostname pbx.desktek.net