Dell PowerEdge C1100 User Manual
Page 10

Cloud Training in a Box: Inexpensive and Reproducible Training Environments for Cloud Solutions
10
@scalable-file-systems
@server-platform
@server-policy
@virtualization
@virtualization-client
@virtualization-platform
@virtualization-tools
@x11
mtools
pax
python-dmidecode
oddjob
sgpio
genisoimage
wodim
certmonger
pam_krb5
krb5-workstation
nscd
pam_ldap
nss-pam-ldapd
sg3_utils
perl-DBD-SQLite
expect
xorg-x11-apps
xorg-x11-fonts-misc
audiofile
libXpm
tcl
libXaw
firefox
lftp
# Post-Install Script #
%post
# Obtain and install a configuration file for a YUM repository valid at my location
wget -O /etc/yum.repos.d/rhel6-dell.repo ftp://10.10.10.1/pub/rhel6-dell.repo
# Optional – For remote access, install and configure freenx server
rpm -ivh ftp://10.10.10.1/pub/freenx-0.7.3-6.el6.ay.x86_64.rpm ftp://10.10.10.1/pub/nx-3.4.0-
6.el6.ay.x86_64.rpm
nxsetup --install --auto --setup-nomachine-key
nxsetup --test >> /root/nxsetup.results.txt
# Create a script to prep the system for the Cloud Solutions Class
cat > /root/CloudSolutionsPostInstallPrep.sh <
# Get the files needed.
mkdir /CloudSolutions/
cd /CloudSolutions/
wget ftp://10.10.10.1/pub/CloudSolutions/*.xml
wget -O /var/lib/libvirt/images/openstack-0.9.5-9.531.iso \
ftp://10.10.10.1/pub/CloudSolutions/openstack-0.9.5-9.531.iso
wget ftp://10.10.10.1/pub/CloudSolutions/openstack_installer.tgz
# Destroy and reconfigure the default networking for the virtual machines
virsh net-destroy default
virsh net-undefine default
virsh net-define defaultnet.xml
virsh net-start default
virsh net-autostart default
# Define the Public Network for the virtual cloud
virsh net-define publicnet.xml
virsh net-start public
virsh net-autostart public
# Define the Private Network for the virtual cloud
virsh net-define privatenet.xml