...
The argument -P
instructs the installer to look for preseedable questions in all its components and to print save the preseed information to stdoutin a new file; after that the installer terminates and no installation or upgrade is attempted.
...
Code Block |
---|
$ ./nmis9-9.0.4.run -- -P > /tmp/preseed.txt
100% 100% checking file /tmp/selfgz25955/installer...
checking file /tmp/selfgz25955/admin/setup_mongodb.pl...
checking file /tmp/selfgz25955/installer_hooks/01-pre-betaconfirm...
checking file /tmp/selfgz25955/installer_hooks/02-postcopy-dirs...
checking file /tmp/selfgz25955/installer_hooks/05-postcopy-configfiles...
checking file /tmp/selfgz25955/installer_hooks/05-pre-selinux...
...
|
...
- Question ids may change between releases; it is strongly recommended that you (re)generate a preseed file for each release.
- Some questions can be asked repeatedly with different dynamic arguments, but it is only possibly to preseed one answer for all these invocations.
For example, question 0b55, "OK to leave the symbolic link $destination unchanged?" may be asked multiple times for different values of '$destination'. The preseed file can only provide one answer which is used for all of them. - Preseeded answers can at this time not contain the double quote character.
- The paths given for
-P
and-p
must be absolute ones, ie. /some/directory/filename.