summaryrefslogtreecommitdiffstats
path: root/genome-respin/repo/conf.d/cloud-ks.cfg
diff options
context:
space:
mode:
authorMatthew Hicks <mhicks@mhicks-host.usersys.redhat.com>2008-07-11 10:24:23 -0400
committerMatthew Hicks <mhicks@mhicks-host.usersys.redhat.com>2008-07-11 10:24:43 -0400
commit9426710bbaac8dd07e0bc6578af597dab1e61460 (patch)
treeb122a9ea8b1d9461d6d34716978fbe3805722d18 /genome-respin/repo/conf.d/cloud-ks.cfg
parent9e1e1cf5d371e362b17a39b539ae6552e60fada7 (diff)
downloadtools-9426710bbaac8dd07e0bc6578af597dab1e61460.tar.gz
tools-9426710bbaac8dd07e0bc6578af597dab1e61460.tar.xz
tools-9426710bbaac8dd07e0bc6578af597dab1e61460.zip
Updating the Genome respins to enhance the current models
and add the Cloud machine
Diffstat (limited to 'genome-respin/repo/conf.d/cloud-ks.cfg')
-rw-r--r--genome-respin/repo/conf.d/cloud-ks.cfg74
1 files changed, 74 insertions, 0 deletions
diff --git a/genome-respin/repo/conf.d/cloud-ks.cfg b/genome-respin/repo/conf.d/cloud-ks.cfg
new file mode 100644
index 0000000..5081007
--- /dev/null
+++ b/genome-respin/repo/conf.d/cloud-ks.cfg
@@ -0,0 +1,74 @@
+#platform=x86, AMD64, or Intel EM64T
+# System authorization information
+auth --useshadow --enablemd5
+# System bootloader configuration
+bootloader --location=mbr
+# Use text install
+text
+# Firewall configuration
+firewall --disabled
+# Run the Setup Agent on first boot
+firstboot --disable
+# Network Manager breaks networking on F8
+services --disabled=NetworkManager
+# System keyboard
+keyboard us
+# System language
+lang en_US
+# Use CDROM installation media
+cdrom
+# Network information
+network --bootproto=dhcp --device=eth0 --onboot=on
+# Reboot after installation
+reboot --eject
+# Root password
+rootpw password
+
+# SELinux configuration
+selinux --disabled
+# Skip X Configuration
+skipx
+# System timezone
+timezone America/New_York
+# Install OS instead of upgrade
+install
+
+# Clear the Master Boot Record
+zerombr
+# Partition clearing information
+clearpart --all --initlabel
+partition /boot --fstype=ext3 --size=200
+partition swap --size=2000
+partition pv.01 --size=1000 --grow
+volgroup HostVolGroup00 pv.01
+logvol swap --fstype swap --name=Swap --vgname=HostVolGroup00 --size=1024
+logvol / --fstype ext3 --name=Root --vgname=HostVolGroup00 --size=10240 --grow
+logvol /home --fstype ext3 --name=Home --vgname=HostVolGroup00 --size=2048
+
+%packages
+kernel-xen
+vim-enhanced
+yum
+-yum-updatesd
+rubygem-cloudmasterd
+
+%post
+# REMOVE: Faking out the public hostname
+echo "10.11.227.63 ftp.redhat.com" >> /etc/hosts
+
+# Identify this machine as a cloud respin
+/bin/touch /etc/sysconfig/cloud-respin
+
+# Set the certmaster in the minion configuration
+sed -i "s/certmaster = certmaster/certmaster = localhost/g" /etc/certmaster/minion.conf
+
+# Turn on autosigning
+sed -i "s/autosign = no/autosign = yes/g" /etc/certmaster/certmaster.conf
+
+# Chkconfig the cloudmasterd and httpd services
+/sbin/chkconfig --add cloudmasterd
+/sbin/chkconfig cloudmasterd on
+/sbin/chkconfig --add httpd
+/sbin/chkconfig httpd on
+
+%end