Administrator Guide

30 | Bare Metal Provisioning (BMP) - Config
www.dell.com | support.dell.com
Store scripts in a flash://autoexec file. Autoexec scripts are independent of
BMP.
The autoexec script only executes when:
BMP is disabled.
The script is stored in a
flash://autoexec file.
Use the
reload-type normal-reload command before you reload the system.
If the autoexec script fails, the system generates a message indicating the failure and
does not load the configuration file. Before continuing the upgrade, correct the error
in the script.
Preconfiguration Process for Scripts
To preconfigure scripts, follow these steps:
1. Decide what information you want to preconfigure; for example, request
username and password information. Verify the integrity of the boot image
downloaded from the DHCP offer and apply configuration types.
2. Create a preconfiguration script in EXPECT, TCL or ZSH.
3. Store the script on any TFTP/FTP/SFTP servers which is reachable from the
system and mention the file URL (TFTP/FTP/STP) in the DHCP offer.
4. Change the reload-type to BMP and reload the switch. The system boots in BMP
mode.
5. The system receives an IP address via the DHCP server which it uses to get an
Dell Networking OS image to boot, a configuration file (if supplied), and a
preconfiguration script.
6. The system runs the preconfiguration script.
The default timer on the script is 10 minutes. The maximum amount of time
the script can run is one hour.
7. The preconfiguration script can access Dell Networking OS CLI commands
through the support of the
f10do utility. The f10do utility has no pagination, is
always set to “terminal length 0”, and has Dell Networking OS CLI privilege 15
enabled. It works in the following modes:
Continuous mode (
f10do command) — use to retain the Dell Networking OS
context.
Reset mode (
f10do -r command) — use to reset the CLI command to its
original context.
8. To execute CLI commands during boot time, the system uses an utility called
f10do.