Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

in my linux PXE server I have the following file lmd-Product_MS155

  lmd-Product_MS155 exist under /tftpboot/linux-install/pxelinux.cfg directory

this file lmd-Product_MS155 defined the menu for the user and from which location to take the ks.cfg and vmlinuz files,

In this case user can choose and install from the menu

One of the following linux's

 1. Linux-OS-5.5.1.0
 2. Linux-OS-5.5.1.1

my target is to automate the Linux installation in way that user will not get the menu and select the Linux version

I mean that: user will write the required Linux version in some file/conf file and PXE server will run Linux installation without to ask user about Linux version – please advice how to do that

   remark -  PXE server IP - 129.18.210.47



   more  /tftpboot/linux-install/pxelinux.cfg/lmd-Product_MS155




   ######################################################
   MENU TITLE Linux Master Disk Product_MS155 

    LABEL Main Menu
    MENU LABEL Main Menu
    KERNEL menu.c32
    APPEND pxelinux.cfg/default
    #######################################################

    LABEL -
    MENU LABEL KS:
    MENU DISABLE

    LABEL   ALL IMAGES HERE ARE STANDARD INSTALLATION!



    LABEL   RedHat-Linux-OS-5.5.1.0
    KERNEL RedHat-Linux-OS-5.5.1.0/vmlinuz
    APPEND initrd=RedHat-Linux-OS-5.5.1.0/initrd.img ramdisk_size=6805 ksdevice=eth0 dns=129.18.210.47 ks=http://129.18.210.47/ks/ks_RedHat-Linux-OS-5.5.1.0.cfg



    LABEL   RedHat-Linux-OS-5.5.1.1
    KERNEL RedHat-Linux-OS-5.5.1.1/vmlinuz
    APPEND initrd=RedHat-Linux-OS-5.5.1.1/initrd.img ramdisk_size=6805 ksdevice=eth0 dns=129.18.210.47 ks=http://129.18.210.47/ks/ks_RedHat-Linux-OS-5.5.1.1.cfg
share|improve this question

migrated from stackoverflow.com Dec 25 '11 at 17:25

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer 1

Try to add at the top of the config file next:

PROMPT 0
TIMEOUT 1
DEFAULT RedHat-Linux-OS-5.5.1.1
share|improve this answer
    
you mean that need to add them in lmd-Product_MS155 file and before the LABEL string? –  Diana Dec 25 '11 at 19:21
    
Yes. I mean add it in lmd-Product_MS155 file in the very top. –  BBK Dec 25 '11 at 19:28
    
So did it helped? –  BBK Dec 26 '11 at 18:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.