Вы находитесь на странице: 1из 3

Changing the default AI GRUB menu by Tim Wort The following installadm list command shows the currently

installed AI server:
root@sol11-svr:/etc/netboot# installadm list Service Name -----------default-i !" #rimar$ Alias Of -------#rimar$ Status -----on on Arch ---%!" %!" Image Path ---------/e%#ort/ai/#rimar$ /e%#ort/ai/#rimar$

When the AI software package is installed the following directories are created, among others:
/etc/netboot/#rimar$ /etc/netboot/default-i !"

Where the directory names are based on the alias assigned to your AI server (in this case primary) and the default name for the AI server In the directory/etc/netboot/primary is found a menu.lst file, this is the default !"#$ menu used by the AI server called primary In the directory /etc/netboot/default-i386 is found a menu.lst file, this is the default !"#$ menu used by the AI default When the client is added to the AI server:
root@sol11-svr:/etc/netboot# installadm create-client -n primary -e 0800279F28F5

The /etc/netboot directory is populated with a data file with a name based on the %A& address of the client and a menu.lst file is also created with a name based on the client %A& address:
root@sol11-svr:/etc/netboot# ls 010800279F28F5 default-i !" root@sol11-svr:/etc/netboot# file * 010800279F28F5: data default-i !": director$ menu.lst.010800279F28F5: ascii text #rimar$: director$

menu.lst.010800279F28F5

#rimar$

The ascii file menu.lst.010800279F28F5 contains a copy of the menu.lst file found in /etc/netboot/primary 'ikewise, if the default-i386 server is named with the installadm -n option the menu.lst file is copied from (etc/netboot/default-i386 These two menu.lst files are individual files In this e)ample the /etc/netboot/primary/menu.lst is modified to change the default menu.lst file for the AI server primary, the changes include the timeout property and the *+racle ,olaris -- --(-- Automated Install* entry was move to the first entry (Note: The default property could have been set to - and the *+racle ,olaris -- --(-Automated Install* entry not moved ): Before:
default&' timeout&1' min(mem")&' title Oracle Solaris 11 11/11 *e%t Installer and command line +ernel, /#rimar$/#latform/i!"#c/+ernel/,ISA-I./uni% -/ install(media&htt#:// ,serverIP:0000//e%#ort/ai/#rimar$1install(service&#rimar$1install(svc(address&,serv erIP:0000 module, /#rimar$/#latform/i!"#c/,ISA-I./boot(archive title Oracle Solaris 11 11/11 Automated Install +ernel, /#rimar$/#latform/i!"#c/+ernel/,ISA-I./uni% -/ install&true1install(media&htt#:// ,serverIP:0000//e%#ort/ai/#rimar$1install(service&#rimar$1install(svc(address&,serv erIP:00001livemode&te%t module, /#rimar$/#latform/i!"#c/,ISA-I./boot(archive

After:
default&' timeout& ' min(mem")&' title Oracle Solaris 11 11/11 Automated Install +ernel, /#rimar$/#latform/i!"#c/+ernel/,ISA-I./uni% -/ install&true1install(media&htt#://

,serverIP:0000//e%#ort/ai/#rimar$1install(service&#rimar$1install(svc(address&,serv erIP:00001livemode&te%t module, /#rimar$/#latform/i!"#c/,ISA-I./boot(archive title Oracle Solaris 11 11/11 *e%t Installer and command line +ernel, /#rimar$/#latform/i!"#c/+ernel/,ISA-I./uni% -/ install(media&htt#:// ,serverIP:0000//e%#ort/ai/#rimar$1install(service&#rimar$1install(svc(address&,serv erIP:0000 module, /#rimar$/#latform/i!"#c/,ISA-I./boot(archive

When a client is installed using the installadm command the modified menu.lst file will be used The client file menu.lst.010800279F28F5 can also be modified for speciali.ed !"#$ menus for individual clients

Вам также может понравиться