How can I prevent the iCloud dialog from showing up for new users?
From a Terminal window:


  sudo defaults write /System/Library/User\Template/Non_localized/Library/Preferences/com.apple.SetupAssistant DidSeeCloudSetup -bool TRUE


Source