Comment 16 for bug 1068154

Matt Riedemann (mriedem) wrote :

Per comment 15, I don't think that's what the bug is saying, or requesting. Yes you can rename the instance and rebuild it and the new instance has the same display_name, but the hostname is not changed, and is the same as the original instance, I've recreated with a newton devstack:

http://paste.openstack.org/show/494464/

The question is if we should rename the hostname in the guest when rebuilding it. Maybe that needs to be a parameter on the rebuild API since we preserve the IP network settings and storage for the instance through the rebuild, so changing the hostname could mess with anything that's relying on that to be unchanged through the rebuild.