Ventoy Auto Installation Plugin

Many distros provide unattended deployment solution. You just need to give a script or template for the installation.
For example, unattend xml for Windows, kickstart script for Redhat/CentOS, autoYast xml for SUSE, preseed script for Debian and so on.
In normal case, if you want to make an unattended deployment, you need to recreate a new iso file based on the original iso file, and add the script or template into the new iso file.
Now Ventoy brings a new feature here. You don't need to recreate a new iso file, just use the original one. You just need to put a script or template in the USB drive and tell ventoy, that's all. You can specify more than one scripts for an iso file at a time, ventoy will provide a menu to choose before boot. You can also update these scripts whenever you want.

  • Supported Distros (Updating)

In theory, as long as the distribution supports automatic installation through script or template, Ventoy can support it, but it takes time to test each one.

Distros Template Notes
Windows Unattend XML Windows
RHEL7/CentOS7/Fedora Kickstart script Distros based on them are also supported.
Debian/Ubuntu Server Preseed script Distros based on them are also supported.
SUSE autoYast XML SLES and openSUSE
  • Json Configuration

A auto_install array is defined to describe the auto installation configuration in /ventoy/ventoy.json.

{
    "auto_install": [
        {
            "image": "/abc/centos.iso",
            "template": "/ventoy/script/centos_kickstart.cfg"
        },
        {
            "image": "/ISO/cn_windows_server_2012_r2_vl_x64_dvd_2979220.iso",
            "template": [
                "/ventoy/script/windows_unattended1.xml",
                "/ventoy/script/windows_unattended2.xml",
                "/ventoy/script/windows_unattended3.xml",
                "/ventoy/script/windows_unattended4.xml",
                "/ventoy/script/windows_unattended5.xml",
                "/ventoy/script/windows_unattended6.xml"
            ],
            "autosel": 2
        },
        {
            "image": "/SLE-12-SP3-Server-DVD-x86_64-GM-DVD1.iso",
            "template": "/ventoy/script/suse_autoyast.xml"
        },
        {
            "image": "/ubuntu-16.04-server-amd64.iso",
            "template": "/ventoy/script/ubuntu_server.seed",
            "autosel": 1
        }
    ]
}

Key Type Description
image STRING The full path of the iso file
template STRING or ARRAY The full path of the installation template for the iso file. Can be a single string or an array of strings.
autosel INTEGER Optional. If you set it, that means you auto select the corresponding option in the prompt menu. And the prompt menu will NOT be shown.
0: boot without installation template
1: boot with the 1st installation template
2: boot with the 2nd installation template
......
  • Dual Mode

Supported. You can set different configurations for Legacy BIOS mode and UEFI mode. Please refer Dual Mode Option for details.

  • Prompt Before Boot (1.0.12+)

When you boot an iso file with auto installation config and without autosel config, a prompt will be shown. You can choose whether to use the auto installation template and which template to use for this time.