Skip to content

Instantly share code, notes, and snippets.

@skiane
Forked from skian/linux-on-dell.sh
Last active August 29, 2015 14:02
Show Gist options
  • Save skiane/536689e473a6b4dea163 to your computer and use it in GitHub Desktop.
Save skiane/536689e473a6b4dea163 to your computer and use it in GitHub Desktop.
#!/bin/sh
# download with this permalink : https://gist.githubusercontent.com/skian/8f5de0419755a7b07d7d/raw/96b4b06ad41630359f54d12db5d43eb52e076ed8/linux-on-dell.sh
# Usage :
# This script should be run as root
yum install -y perl wget
# This was the pre-2015 way to install Dell YUM repo
# wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | sed -e 's/CHECK_REPO_SIGNATURE=1/CHECK_REPO_SIGNATURE=0/' | bash
# New Dell YUM repo ("DSU") introduced in Jan 2015
wget -q -O - http://linux.dell.com/repo/hardware/dsu/bootstrap.cgi | bash && {
# install OpenManage Server Administrator
yum install -y srvadmin-all srvadmin-idracadm7.x86_64
# Fix for libssl not found dynamically by racadm
(cd /usr/lib64 ; ln -s libssl.so.1.0.1e libssl.so)
# install vm6deploy.sh
yum install -y srvadmin-idrac-vmcli ipmitool
# start OpenManage daemons
/opt/dell/srvadmin/sbin/srvadmin-services.sh restart
# update firmware
yum install -y dell-system-update
dsu --inventory
echo "!!! run dsu again in interactive mode"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment