Comment 9 for bug 596993

Revision history for this message
Scott Moser (smoser) wrote : Re: [Bug 596993] Re: hostname handling needs improvement for elastic-ip and ebs start-stop

On Thu, 20 Jan 2011, Gerry Reno wrote:

> Running the following commands appears to correctly set all the forms of
> hostname on my Lucid ec2 instance:
>
> echo "$(curl -s http://169.254.169.254/latest/meta-data/local-hostname)"
> | sed 's:\..*$::' > /etc/hostname
>
> /sbin/sysctl -w kernel.hostname="$(curl -s http://169.254.169.254/latest
> /meta-data/local-hostname | sed 's:\..*$::')"

Gerry,
   Please open a new bug for whatever you see is not functioning correctly
in uname/hostname output. The first step is to get it fixed in the
development release (natty) then we can work on backporting.
   We can pull back the behavioral change made in this bug back to lucid,
but for other issues, please open new bugs.
   Thank you for your interest.
   Scott