System Preferences -> Sharing -> Computer Name --> set it to whatever
And then restart your computer. No console commands were necessary. Works for OS X 10.10.2
System Preferences -> Sharing -> Computer Name --> set it to whatever
And then restart your computer. No console commands were necessary. Works for OS X 10.10.2