Cmdlines.txt, Cmdlines – Dell PowerEdge 2970 User Manual

Page 6

Advertising
background image

Dell Enterprise Server Windows Installation Best Practices with Broadcom NetXtreme Devices

See silent.txt provided with the Broadcom installation program for command line
parameters for use with Broadcom’s setup.exe.

Using this method requires that any non-default network settings, such as static IP
addresses, be applied after the operating system is installed. Network settings specified
in the unattended answer file will not be applied to Broadcom network devices since the
drivers for those devices would not be installed until the very end of the Windows setup.
Network settings can be applied manually after the operating system install or they can
be applied in the same manner as the Broadcom installer is run, such as using
netset.exe (see Section 5 of this document) from the SetupParams section of the answer
file, or using cmdlines.txt.

SetupParams will only execute one command, but that command could be a batch file or
script that calls more than one command. To use the installer and apply network settings
specified in the unattended answer file, the batch file or script could call the installer, and
then call the Microsoft netset.exe utility (see MS Knowledge Base article 268781 for
information on the netset.exe utility) to apply the network settings specified in the answer
file to the newly installed Broadcom network devices.

4.2. cmdlines.txt

A more flexible method of running commands at the end of the Windows Setup is to use
the cmdlines.txt method. To create a cmdlines.txt file, use any text editor to create a
file named cmdlines.txt. Add the following section to the cmdlines.txt file

[Commands]

Enter the commands, one per line, below the section just created. Commands are
executed serially, meaning that the next command is not executed until the previous is
completed. In this manner, the Broadcom drivers and applications can be installed, and
then the network settings applied once that command is complete.

Example:

[Commands]
“cmd.exe /c C:\Broadcom\setup.exe /s /v/qn”
“C:\Netset c:\unattend.txt”

The example above will install the Broadcom drivers and applications silently, and then
apply the network settings specified in the unattend.txt file (unattended answer file) to
the network devices.

The cmdlines.txt file must be placed in the $OEM$ directory of the distribution share and
the unattended answer file must have the “OemPreinstall = Yes” line under the
[Unattended] section.

Joining a domain can be accomplished if the driver installation command and setting of
the network parameters using netset.exe are done in either the SetupParams or
cmdlines.txt. If the system being installed will use the default network settings and
DHCP, only the driver installation need be specified in either of these sections to
successfully join a domain as specified in the unattended answer file.

Page 6

Advertising