'Rebuild -- shut down and then re-image -- this server.
:param image: the :class:`Image` (or its ID) to re-image with.
:param password: string to set as the admin password on the rebuilt
server.
:param preserve_ephemeral: If True, request that any ephemeral device
be preserved when rebuilding the instance. Defaults to False.'

def rebuild(self, image, password=None, preserve_ephemeral=False, **kwargs):

    return self.manager.rebuild(self, image, password=password, preserve_ephemeral=preserve_ephemeral, **kwargs)
