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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/596993 Title: hostname handling needs improvement for elastic-ip and ebs start-stop -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
