It’s quite easy, what you want to do is edit the file /etc/issue and use the special command \4 for the IPv4 address and \6 for the IPv6 address.
If you want you can also specify a specific NIC by using it like \4{enp0s3} for example.
Now everytime you boot, logout from the console etc it will shop the IP address of the server.