I have been noticing that sharing names are not sticking when using Casper Imaging via Netboot or Locally. After the first boot the name of the computer reverts back to localhost.
I have seen the same issue with 10.8, if you re-run the Casper Imaging via net boot and just change the name it does stick this time (not a solution though).
This thread is similar as well.
https://jamfnation.jamfsoftware.com/discussion.html?id=5078
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.