That should do it. The main thing you'll want to edit is the database info, and then any path information, like the FULL_PATH, SESSION_PATH and possibly directories listed for the avatar/attachment storage directories.

Once you get those updated you should be able to login and go to the control panel, and then you'll want to clear the cache to make sure everything updates properly.