Mender client testing on solidrun with Mender demo server

Its working fine… Mean to say mender client able to update the device with new artifacts from production server…
But i need to use mender-artifact tool to write the server name and server ip address in /etc/hosts file for mender client to connect to server…