Element
<script>
Description | Required? |
|
|
Where the | N |
Attributes: |
|
stage: |
|
complete |
|
When |
|
before root file system is unmounted (for example, after |
|
installation/upgrade, initrds already built, etc.). The script will |
|
receive an argument that is the mount point of the root file |
|
system. |
|
When |
|
once the installer has finished all operations (and hence the |
|
root file system will be unmounted). The script will receive |
|
an argument that will have a value of zero if the installation |
|
completed successfully, and will be |
|
failed for any reason. |
|
type: url, nfs, or local |
|
If url or nfs, put the URL or NFS path in the PCDATA; if local, |
|
leave the PCDATA empty. For example, |
|
<script |
|
type="url"> |
|
| |
</script> |
|
<script |
|
type="local"> |
|
file:///scripts/run.sh |
|
</script> |
|
<script |
|
type="nfs"> |
|
| |
</script> |
|
Note that if a local file is used, ensure that the path is absolute. |
|
This will generally mean that the file:// prefix will be |
|
followed by a further forward slash, and the complete path to |
|
the script. |
|
|
|
45