Post-Installation Script
349
32.11. Post-Installation Script
Figure 32.16. Post-Installation Script
You can also add commands to execute on the system after the installation is completed. If the
network is properly configured in the kickstart file, the network is enabled, and the script can include
commands to access resources on the network. To include a post-installation script, type it in the text
area.
Warning
Do not include the
%post
command. It is added for you.
For example, to change the message of the day for the newly installed system, add the following
command to the
%post
section:
echo -"Hackers will be punished" > -/etc/motd
Note
More examples can be found in
Section 31.7.1, “Examples”
.
Summary of Contents for ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Page 12: ...xii ...
Page 20: ......
Page 30: ...12 ...
Page 32: ...14 ...
Page 82: ...64 ...
Page 106: ...88 ...
Page 122: ...104 ...
Page 124: ...106 ...
Page 126: ......
Page 132: ...114 ...
Page 168: ...150 ...
Page 182: ...164 ...
Page 192: ...174 ...
Page 194: ......
Page 236: ...218 ...
Page 238: ...220 ...
Page 270: ......
Page 274: ...256 ...
Page 278: ...260 ...
Page 292: ...274 ...
Page 294: ......
Page 300: ...282 ...
Page 304: ......
Page 316: ...298 ...
Page 370: ...352 ...
Page 384: ...366 ...
Page 385: ...Part VII Appendix ...
Page 386: ......