4.4. Using the kickstart file

To install Acronis Cyber Infrastructure by 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 Acronis Cyber Infrastructure installation files are stored (for example, to /var/www/html/astor).

  2. 将以下字符串添加到 PXE 服务器上的 /tftpboot/pxelinux.cfg/default 文件:

    inst.ks=<HTTP_server_address>/<path_to_kickstart_file>
    

    对于基于 EFI 的系统,需要编辑的文件具有名称 /tftpboot/pxelinux.cfg/efidefault/tftpboot/pxelinux.cfg/<PXE_server_IP_address>

    假定 HTTP 服务器的 IP 地址为 198.123.123.198,则 DocumentRoot 目录设置为 /var/www/html,此服务器上的 kickstart 文件的完整路径是 /var/www/html/astor/ks.cfg,则默认文件可能看似如下:

    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