
%post
(
# execute any queued actions on RHN to sync with the activation key
rhn_check -vv
/usr/bin/yum -y update
) >> /root/ks-post.log 2>&1
8.3 RHEL with JBoss
A VM demonstrating JBoss EAP functionality is created using the following kickstart to:
• install RHEL 5.5 with OpenJDK
• set required firewall ports
• download, install and configure both JBoss EAP and the JON agent
• deploy the Java test application
• configure JBoss and the JON agent to auto start at VM boot
• install the latest OS updates
rhel55_jboss.ks
install
text
network --bootproto dhcp
lang en_US
keyboard us
url --url http://sat-vm.cloud.lab.eng.bos.redhat.com/ks/dist/ks-rhel-x86_64-server-5-u5
zerombr
clearpart --linux
part /boot --fstype=ext3 --size=200
part pv.01 --size=1000 --grow
part swap --size=2000 --maxsize=20000
volgroup rhel55 pv.01
logvol / --vgname=rhel55 --name=rootvol --size=1000 --grow
bootloader --location mbr
timezone America/New_York
auth --enablemd5 --enableshadow
rootpw --iscrypted $1$1o751Xnc$kmQKHj6gtZ50IILNkHkkF0
selinux --permissive
reboot
firewall --enabled
skipx
key --skip
%packages
@ Base
java-1.6.0-openjdk
137 www.redhat.com
Comentarios a estos manuales