Installing in the unattended mode

If you plan to perform an unattended installation of Virtuozzo Hybrid Infrastructure, you can use a kickstart file. It will automatically supply the installer with the options you would normally choose by hand.

Prerequisites

To install in the unattended mode

  1. Make the kickstart file accessible over the network:

    1. Copy the kickstart file to the same directory on the HTTP server where the Virtuozzo Hybrid Infrastructure installation files are stored (for example, to /var/www/html/stor).

    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/stor/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/stor inst.ks=http://198.123.123.198/stor/ks.cfg
  2. Configure the server to boot from the chosen media.
  3. Boot the server and wait for the Welcome screen.
  4. On the Welcome screen, select Install Virtuozzo Hybrid Infrastructure and press E to edit the menu entry.
  5. Append the kickstart file location to the linux /images/pxeboot/vmlinuz line, and press Ctrl+X. For example:

    linux /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=<ISO_img> quiet ip=dhcp logo.nologo=1 inst.ks=<URL>
    

The installation will proceed automatically. Once it is complete, the node will reboot automatically. The admin panel IP address will be shown in the welcome prompt.

What's next

  • When all the required nodes are displayed in the admin panel on the Infrastructure > Nodes screen as Unassigned, proceed to create the storage cluster, as outlined in Deployment and configuration.