<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I am getting messages like this with every "sudo" I do in the
container: <br>
<br>
<tt>"sudo: unable to resolve host test.lxc</tt><tt>"</tt><br>
<br>
It happens with every container I create on 12.10 (with 12.10
container).<br>
<br>
Reproduction:<br>
<br>
<tt>lxc-create -t ubuntu-cloud -n test.lxc -- --auth-key
$HOME/.ssh/id_rsa.pub --userdata /root/my-userdata</tt><br>
<br>
with a simple userdata file like this:<br>
<br>
<pre wrap="">#!/bin/sh
ifconfig eth0 > /ifconfig-eth0
<font face="sans-serif">It is easy to solve for me: just add the container name to /etc/hosts.
But I was wondering whether it would make sense to add it in a generic way?
Regards, Rintcius
</font></pre>
<br>
<br>
<br>
<br>
</body>
</html>