[Bug 596993] Re: hostname handling needs improvement for elastic-ip and ebs start-stop

Scott Moser smoser at canonical.com
Thu Jan 20 02:15:30 UTC 2011


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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in ubuntu.
https://bugs.launchpad.net/bugs/596993

Title:
  hostname handling needs improvement for elastic-ip and ebs start-stop



More information about the Ubuntu-server-bugs mailing list