Hi,
could you give some information about the environment or cloud that you're running this in?
Something told cloud-init that your hostname was 'myhostname', and cloud-init set the system's hostname to that value. 'sudo' is merely complaining that it cannot resolve 'myhostname'.
This is configurable, see the documentation in doc/examples/cloud-config.txt [1]. The default behavior assumes that your "datasource" (which gave cloud-init the value of 'myhostname') will also provide for resolving that value (and thus you would not see the error).
Hi,
could you give some information about the environment or cloud that you're running this in?
Something told cloud-init that your hostname was 'myhostname', and cloud-init set the system's hostname to that value. 'sudo' is merely complaining that it cannot resolve 'myhostname'.
This is configurable, see the documentation in doc/examples/ cloud-config. txt [1]. The default behavior assumes that your "datasource" (which gave cloud-init the value of 'myhostname') will also provide for resolving that value (and thus you would not see the error).
-- bazaar. launchpad. net/~cloud- init-dev/ cloud-init/ trunk/view/ head:/doc/ examples/ cloud-config. txt
[1] http://