I've written a script that changes the com.apple.softwareupdate.plist file to point to an internal SUS server which appears to work.
I then run a softwareupdate which runs, the logs are showing the correct output.
"
SoftwareUpdate Tool
Copyright 2002-2010 Apple
Done
"
What I don't understand is why it doesn't appear to be picking up the 2 updates that need to be applied.
I've tried sleeping for 30 seconds just in case the updates to the com.apple.softwareupdate.plist haven't taken affect with the same result.
I'd like the updates to be applied prior to the first reboot that way any update that needs the reboot can do it's thing before the rest of the imaging process completes.