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.
main
Kyle Robertze 8 years ago committed by Teo Mrnjavac
parent d016a0030a
commit 5eb0c8e40b

@ -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.
- name: "Group name"
description: "Description of the group"
packages:
- lsb-release
- avahi
- grub
description: "Description of the group"
packages:
- lsb-release
- avahi
- grub
- name: "Second group name"
...
@ -37,6 +37,12 @@ More keys are supported:
- 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
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
which will always be installed in the user's system.

@ -1,6 +1,10 @@
rootMountPoint: /tmp/mount
packageOperations:
- install:
- vi
- pre-script: touch /tmp/foo
package: vi
post-script: rm /tmp/foo
- wget
- remove:
- vi
- wget

Loading…
Cancel
Save