Skip to content

Instantly share code, notes, and snippets.

@goldmann
Created August 9, 2009 10:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goldmann/164718 to your computer and use it in GitHub Desktop.
Save goldmann/164718 to your computer and use it in GitHub Desktop.
lang en_US.UTF-8
keyboard us
timezone US/Eastern
auth --useshadow --enablemd5
selinux --disabled
firewall --disabled
bootloader --timeout=1 --append="acpi=force scsi_mod.scan=sync"
firstboot --disabled
network --bootproto=dhcp --device=eth0 --onboot=on
rootpw oddthesis
part / --size 2048 --fstype ext3 --ondisk sda
repo --name=jboss-cloud --cost=10 --baseurl=file:///home/oddthesis/jboss-cloud/build/topdir/fedora/11/RPMS/noarch
repo --name=jboss-cloud-i386 --cost=10 --baseurl=file:///home/oddthesis/jboss-cloud/build/topdir/fedora/11/RPMS/i386
repo --cost=20 --name=thincrust --baseurl=http://www.thincrust.net/repo/noarch/
repo --name=fedora-11-base --cost=40 --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=i386
repo --name=fedora-11-updates --cost=40 --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=i386
%packages --excludedocs --nobase
jboss-cloud-management
%include base-pkgs.ks
httpd-appliance
jboss-jgroups-appliance
front-end-appliance
%end
%post
/sbin/chkconfig --level 345 ace on
mkdir /etc/sysconfig/ace
touch /etc/sysconfig/ace/appliancename
echo httpd-appliance >> /etc/sysconfig/ace/appliancename
echo jboss-jgroups-appliance >> /etc/sysconfig/ace/appliancename
echo front-end-appliance >> /etc/sysconfig/ace/appliancename
## httpd-appliance.post
/sbin/chkconfig --level 234 httpd on
## jboss-jgroups-appliance.post
/sbin/chkconfig --level 234 jgroups-gossip on
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment