updated docs to better explain new features
the docs do not current reflect the new net-install and packages modules changes well. This updates them to explain the new keys in the configuration files.
This commit is contained in:
parent
624552c168
commit
99118e06e6
@ -16,11 +16,11 @@ The *netinstall.conf* file should have this format:
|
|||||||
The URL must point to a YAML file. Here is a short example of how the YAML file should look.
|
The URL must point to a YAML file. Here is a short example of how the YAML file should look.
|
||||||
|
|
||||||
- name: "Group name"
|
- name: "Group name"
|
||||||
description: "Description of the group"
|
description: "Description of the group"
|
||||||
packages:
|
packages:
|
||||||
- lsb-release
|
- lsb-release
|
||||||
- avahi
|
- avahi
|
||||||
- grub
|
- grub
|
||||||
- name: "Second group name"
|
- name: "Second group name"
|
||||||
...
|
...
|
||||||
|
|
||||||
@ -37,6 +37,12 @@ More keys are supported:
|
|||||||
- subgroups: if present this follows the same structure as the top level
|
- subgroups: if present this follows the same structure as the top level
|
||||||
of the YAML file, allowing there to be sub-groups of packages to an
|
of the YAML file, allowing there to be sub-groups of packages to an
|
||||||
arbitary depth
|
arbitary depth
|
||||||
|
- pre-install: an optional command to run within the new system before
|
||||||
|
the group's packages are installed. It will run before each package in
|
||||||
|
the group is installed.
|
||||||
|
- post-install: an optional command to run within the new system after
|
||||||
|
the group's packages are installed. It will run after each package in
|
||||||
|
the group is installed.
|
||||||
|
|
||||||
If you set both *hidden* and *selected* for a group, you are basically creating a "default" group of packages
|
If you set both *hidden* and *selected* for a group, you are basically creating a "default" group of packages
|
||||||
which will always be installed in the user's system.
|
which will always be installed in the user's system.
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
rootMountPoint: /tmp/mount
|
rootMountPoint: /tmp/mount
|
||||||
packageOperations:
|
packageOperations:
|
||||||
- install:
|
- install:
|
||||||
- vi
|
- pre-script: touch /tmp/foo
|
||||||
|
package: vi
|
||||||
|
post-script: rm /tmp/foo
|
||||||
|
- wget
|
||||||
- remove:
|
- remove:
|
||||||
- vi
|
- vi
|
||||||
|
- wget
|
||||||
|
Loading…
Reference in New Issue
Block a user