User Tools

Site Tools


start:preseeding

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
start:preseeding [2016/02/19 02:50]
nuxwin
start:preseeding [2017/09/18 00:05]
nuxwin
Line 1: Line 1:
 ======i-MSCP Installer - Preseeding Feature====== ======i-MSCP Installer - Preseeding Feature======
  
-<WRAP center round important 80%> 
-**This is a feature reserved to i-MSCP experts. Do not use it if you don't understand what you are doing.** 
-</​WRAP>​ 
- 
-<WRAP center round important 80%> 
-**Even if this works, the preseed feature was not intended to be used for i-MSCP update. Thus, behavior can be undefined in some contexts.** 
-</​WRAP>​ 
 =====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 ​installation,​ 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** 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 installer ​-dp <​path_to_your_preseed_file>​+    # perl imscp-autoinstall --debug --verbose --preseed path/​to/​preseed.pl
  
  
-=====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 all this documentation,​ the '​**installer**'​ word refers either to the imscp-autoinstall script or the imscp-setup script. 
/var/www/virtual/i-mscp.net/wiki/htdocs/data/pages/start/preseeding.txt · Last modified: 2017/09/18 00:05 by nuxwin