echo "---> Updating operating system"
yum clean all -q
+ yum install -y -q deltarpm
yum update -y -q
# add in components we need or want on systems
echo "---> Attempting to detect OS"
# upstream cloud images use the distro name as the initial user
-ORIGIN=$(logname)
+ORIGIN=$(if [ -e /etc/redhat-release ]
+ then
+ echo redhat
+ else
+ echo ubuntu
+ fi)
+#ORIGIN=$(logname)
case "${ORIGIN}" in
- fedora|centos)
+ fedora|centos|redhat)
echo "---> RH type system detected"
rh_systems
;;