I'm trying to install nginx on my tiny instance and when I start the service I get 'unable to resolve host '
Now I should change the /etc/hostname file and reboot, but after a reboot the changes in the hostname file are lost.
What to do?
To resolve this you can edit the following file: /etc/cloud/cloud.cfgNow set preserve_hostname to "true".
For more information see: https://cloudinit.readthedocs.io/en/latest/topics/modules.html#set-hostname