4.4. Using Kickstart File

To install Virtuozzo Infrastructure Platform using a kickstart file, you first need to make the kickstart file accessible over the network. To do this:

  1. Copy the kickstart file to the same directory on the HTTP server where the Virtuozzo Infrastructure Platform installation files are stored (e.g., to /var/www/html/astor).

  2. Add the following string to the /tftpboot/pxelinux.cfg/default file on the PXE server:

    inst.ks=<HTTP_server_address>/<path_to_kickstart_file>
    

    For EFI-based systems, the file you need to edit has the name of /tftpboot/pxelinux.cfg/efidefault or /tftpboot/pxelinux.cfg/<PXE_server_IP_address>.

    Assuming that the HTTP server has the IP address of 198.123.123.198, the DocumentRoot directory is set to /var/www/html, and the full path to your kickstart file on this server is /var/www/html/astor/ks.cfg, your default file may look like the following:

    default menu.c32
    prompt 0
    timeout 100
    ontimeout ASTOR
    menu title Boot Menu
    label ASTOR
            menu label Install
            kernel vmlinuz
            append initrd=initrd.img ip=dhcp inst.repo=http://198.123.123.198/astor \
    inst.ks=http://198.123.123.198/astor/ks.cfg