44 Chapter 3 Installing Server Software and Finishing Basic Setup
The following example shows the basic structure and contents of a configuration file
for a computer with the following configuration:
ÂAn administrator user named “Administrator” (short name “admin”) with a user ID of
501 and the password “secret”
ÂA computer name and host name of “server1.example.com”
ÂA single Ethernet network interface set to get its address from DHCP
ÂNo server services set to start automatically
Note: Angle brackets used in XML format do not have the same usage as angle
brackets used in Mac OS X Server commands.
Sample Configuration File
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AdminUser</key>
<dict>
<key>exists</key>
<false/>
<key>name</key>
<string>admin</string>
<key>password</key>
<string>secret</string>
<key>realname</key>
<string>Administrator</string>
<key>uid</key>
<string>501</string>
</dict>
<key>ComputerName</key>
<string>server1.example.com</string>
<key>DS</key>
<dict>
<key>DSClientInfo</key>
<string>2 - NetInfo client - broadcast dhcp static -192.168.42.250
network</string>
<key>DSClientType</key>
<string>2</string>
<key>DSType</key>
<string>2 - directory client</string>
</dict>
<key>HostName</key>
<string>server1.example.com</string>
<key>InstallLanguage</key>
<string>English</string>
<key>Keyboard</key>
<dict>
<key>DefaultFormat</key>