Hi, first, thanks for this script! I'll have to setup some CentOS 6.5 machines too, maybe it will help. Here are some questions/improvements from me:
There's no need to use "localinstall" anymore, "install" is fine with yum :-) Then you install "virt-manager", for what purpose, may I ask? I also never needed to manually create the ovirt-management bridge has this behaviour changed in recent vdsm/CentOS Release? Am 13.12.2013 05:48, schrieb Ted Miller: > > # script to prepare Centos 6.5 for ovirt host install process > > echo "================= Ted's personal preferences--early > ========================" > > yum -y install nano deltarpm yum-plugin-priorities yum-presto mlocate > > echo "=================== end of Ted's personal preferences--early > ================" > > yum -y upgrade > > echo "....................install some repos (if not already > done).................." > cd /etc/yum.repos.d > if [ ! -f glusterfs-epel.repo ] ; then > echo "..............installing gluster repo......................." > yum -y install wget > wget > http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs-epel.repo > echo "..............done installing gluster repo.................." > fi > > if [ ! -f el6-ovirt.repo ] ; then > echo "..............installing ovirt repo......................." > yum -y localinstall http://ovirt.org/releases/ovirt-release-el.noarch.rpm > echo "..............done installing ovirt repo.................." > fi > > if [ ! -f epel.repo ] ; then > echo "..............installing epel repo......................." > yum -y localinstall > http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm > echo "..............done installing epel repo.................." > fi > > > echo "........install libvirt............................" > yum -y install libvirt qemu-kvm tuned > echo "........install virt-manager" # with unlisted dependencies > yum -y install virt-manager xorg-x11-xauth dejavu-lgc-sans-mono-fonts > > # create the ovirtmgmt bridge > if [ ! -f /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt ]; then > echo "........................creating ovirtmgmt > bridge......................" > service libvirtd start > service libvirtd status > virsh net-destroy default > virsh net-undefine default > virsh iface-bridge eth0 ovirtmgmt > service network restart > service libvirtd stop > service libvirtd status > fi > > echo ".........copy tuned profile..............." > # copy virtual-host --> rhs-virtualization so ovirt is happy > cp -r /etc/tune-profiles/virtual-host /etc/tune-profiles/rhs-virtualization > > yum -y install vdsm > > echo "================= Ted's personal preferences--late > =================================" > > #add lines to send messages to TTY12 > cat /etc/rsyslog.conf | grep tty12 > if [ ! $? -eq 0 ] ; then > echo ".......................Adding for tty12...................." > echo " " >> /etc/rsyslog.conf > echo "# Log everything to tty12" >> /etc/rsyslog.conf > echo "*.* /dev/tty12" >> /etc/rsyslog.conf > service rsyslog restart > fi > > echo "...........install gkrellm.............." > yum -y install gkrellm > > #add poll=0 to kill noveau messages > cat /boot/grub/grub.conf | grep poll=0 > if [ ! $? -eq 0 ] ; then > echo "............................Adding poll=0.........................." > sed -i '/^[ \t]kernel*/ s/$/ drm-kms-helper.poll=0/g' /boot/grub/grub.conf > fi > > > > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users