This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
start:preseeding [2016/02/19 23:56] nuxwin |
start:preseeding [2017/09/16 03:43] nuxwin |
||
---|---|---|---|
Line 3: | Line 3: | ||
=====Introduction===== | =====Introduction===== | ||
- | The preseeding feature allows to set answer to questions asked during the installation process, without having to manually enter the answers while the installation is running. This allow to achieve unattended installations, mostly for ISPs that want built server images with i-MSCP pre-installed. | + | The preseeding feature allows to preseed answers for the i-MSCP installer. This allows to make unattended i-MSCP installations. This feature is the suitable for ISPs which want provision their servers with i-MSCP pre-installed, or to developers that want setup their i-MSCP development environments using Vagrant. |
=====Creating the preseed file===== | =====Creating the preseed file===== | ||
- | The preseed file is a simple perl script filled with all needed answers. You can either pre-fill it with your own static values or use your own script to generate it according your own dynamic values. | + | The preseed file is a simple Perl script containing variables that must be filled with all needed answers. |
+ | |||
+ | When creating a preseed file, you should start from a known good, default preseed file. A preseed file for the i-MSCP version you are using is located in the docs directory of the archive. | ||
=====Adding the preseed file to the installer===== | =====Adding the preseed file to the installer===== | ||
- | Once the preseed file is created, you must tell the installer to use it. This is achieved by simply running the installer with the preseed command line option such as: | + | Once the preseed file is ready for use, you must tell the installer to use it. This is achieved by running the i-MSCP installer as follows: |
+ | |||
+ | # perl imscp-autoinstall --debug --verbose --noprompt --preseed path/to/preseed.pl | ||
- | # perl installer -dp <path_to_your_preseed_file> | ||
- | =====Default preseed file===== | ||
- | When creating a preseed file, you should start from a known good, default preseed file. A preseed file for the i-MSCP version you are using is located in the docs directory of the archive. | ||
- | Note that in all this documentation, the '**installer**' word refers either to the imscp-autoinstall script or the imscp-setup script. |