The auto_adm command is intended for the management of the AUTO file in an LIF that is used by Ignite-UX. The bootcmd field only accepts one argument.

ISL data

The following example presents the same data as the CONF data although it is translated into ISL format:

#auto_adm -f ./output -o ./isl -O ISL

#cat isl

hpux KernelPrompt "Choose a boot action" 0 2 reset

"target OS is B.11.11" boot (;0)/boot/Rel_B.11.11/INSTALL "target OS is B.11.23 PA" boot (;0)/boot/Rel_B.11.23/WINSTALL "target OS is B.11.31 PA" boot (;0)/boot/Rel_B.11.31/WINSTALL "Exit" reboot

#auto_adm -f ./lif -D -L "target OS is B.11.11" -O ISL hpux KernelPrompt "Choose a boot action" 0 1

reset

"target OS is B.11.11" boot (;0)/boot/Rel_B.11.11/INSTALL "target OS is B.11.23 PA" boot (;0)/boot/Rel_B.11.23/WINSTALL "target OS is B.11.31 PA" boot (;0)/boot/Rel_B.11.31/WINSTALL "Exit" reboot

The auto_adm command operates on CONF or ISL format data equally well. The default destination, if –ois not given, is to send the result to stdout.

Usage examples

Creating new files

This is the form of the auto_adm command used to create new files:

/opt/ignite/bin/auto_adm -n -T timeout -M message -l label -c command -b device -i image [-o outfile] [-O output_format] [-?]

The –nmeans that a new file is being created and the other options allow you to provide enough data to give the higher-level menu information and the first option on the menu. The following example creates the file:

#auto_adm -n -T 10 -M "Please select something to boot" \ > -l "HP-UX 11.11 32bit74" -c boot -b "(;0)" \

> -i boot/Rel_B.11.11/INSTALL -o boot.adm -O CONF $ cat boot.adm

timeout = 10 default = 1

message = Please select something to boot

label = HP-UX 11.11 32bit75

74This format is not strictly 32-bit, as it correctly boots 32-bit and 64-bit capable systems (but not V class systems).

75Even though this menu choice says 32-bit, the PA-RISC primary loader (ISL) changes the INSTALL kernel to WINSTALL if the system can only run a 64-bit kernel. So, even though the one line says 32-bit, it actually supports both 32-bit and 64-bit systems.

158