From a5c3778a98cda85cf072647b786c86ce5cf039a3 2017-01-07 01:49:38 From: drtyhlpr Date: 2017-01-07 01:49:38 Subject: [PATCH] Added information about Configuration templates --- diff --git a/README.md b/README.md index 01518e7..dfd48fc 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,16 @@ RPI_MODEL=3 ENABLE_WIRELESS=true ENABLE_MINBASE=true BUILD_KERNEL=true ./rpi23-g RELEASE=stretch RPI_MODEL=3 ENABLE_WIRELESS=true ENABLE_MINBASE=true BUILD_KERNEL=true ./rpi23-gen-image.sh ``` +## Configuration template files +To avoid long lists of command-line parameters and to help to store the favourite parameter configurations the `rpi23-gen-image.sh` script supports so called configuration template files (`CONFIG_TEMPLATE`=template). These are simple text files located in the `./templates` directory that contain the list of configuration parameters that will be used. New configuration template files can be added to the `./templates` directory. + +#####Command-line examples: +```shell +CONFIG_TEMPLATE=rpi3stretch ./rpi23-gen-image.sh +CONFIG_TEMPLATE=rpi2stretch ./rpi23-gen-image.sh +``` + +## Supported parameters and settings #### APT settings: ##### `APT_SERVER`="ftp.debian.org" Set Debian packages server address. Choose a server from the list of Debian worldwide [mirror sites](https://www.debian.org/mirror/list). Using a nearby server will probably speed-up all required downloads within the bootstrapping process.