Fix some small documentation inconsistencies
This commit is contained in:
parent
1a2c5c967b
commit
5571ba3f49
|
@ -1049,7 +1049,8 @@ previous section, with the following differences:
|
|||
|
||||
* The `exprFile` is also used for specifying the process model to deploy from,
|
||||
but a notable difference is that for mutable containers this model is copied
|
||||
into the container and deployed from within the container.
|
||||
into the container and deployed from within the container. If the `exprFile`
|
||||
parameter is omitted, an empty configuration is deployed.
|
||||
* To make deploying process models model possible that also use
|
||||
`nixproc-id-assign` to automatically assign unique numeric IDs, the
|
||||
`idResourcesFile` and `idsFile` parameters can be used to copy these models
|
||||
|
|
|
@ -10,12 +10,14 @@ result // pkgs.lib.optionalAttrs (!(input ? bootstrap) || input.bootstrap) {
|
|||
cat > /bin/bootstrap <<EOF
|
||||
#! ${pkgs.stdenv.shell} -e
|
||||
|
||||
# Add nix channel configuration
|
||||
# Configure Nix channels
|
||||
nix-channel --add ${channelURL}
|
||||
nix-channel --update
|
||||
|
||||
# Deploy the processes model (in a child process)
|
||||
nixproc-${input.processManager}-switch &
|
||||
|
||||
# Overwrite the bootstrap script, so that it simply just starts the process manager
|
||||
# Overwrite the bootstrap script, so that it simply just starts the process manager the next time we start the container
|
||||
cat > /bin/bootstrap <<EOR
|
||||
#! ${pkgs.stdenv.shell} -e
|
||||
exec ${cmd}
|
||||
|
|
Loading…
Reference in New Issue