Loginwindow, AdminHostInfo, Name & Password, Custom Desktop Picture
I'm builiding our utility NetBoot image with InstaDMG. This is the image we use primarily for machine building and repair. I've included the following in a postflight in a CustomPKG:
[code]#Set the login window to show the IP address of the machine
/usr/bin/defaults write $3/Library/Preferences/com.apple.loginwindow AdminHostInfo IPAddress
#Set the login window to name and password
/usr/bin/defaults write $3/Library/Preferences/com.apple.loginwindow SHOWFULLNAME -bool true
#Set the desktop picture behind the Loginwindow
/usr/bin/defaults write $3/Library/Preferences/com.apple.loginwindow DesktopPicture "/Library/Desktop Pictures/NetBoot_Loginwindow_Desktop.jpg"[/code]
However, when I start up the computer (from an imaged hard drive) the three items above are not set--the login window text is "Mac OS X 10.5.2", the login window is in "list of users" format, and the desktop picture is the aurora. If I start up and:
- Forcibly reboot via a UNIX script ("reboot" as root via ARD), the problem is not fixed
- Log in and log back out, everything is fine.
- Log in and forcibly reboot via a UNIX script ("reboot" as root via ARD), everything is fine
Thoughts?
- Patrick