Skip to content
Snippets Groups Projects
Commit 28962625 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Moved Dell open manage setup

parent 1c3e11a9
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
source /root/envsetup/global-conf.sh
echo "Dell Open Manage setup is disabled."
exit 0
source ../../global-conf.sh
# DELL server - install dell openmanage
# http://linux.dell.com/repo/community/openmanage/
if ( ! dpkg -l | grep dmidecode ); then
apt-get install -y dmidecode
fi
......@@ -15,17 +13,16 @@ if ( dmidecode | grep Dell ); then
exit 0
fi
echo 'deb http://linux.dell.com/repo/community/ubuntu xenial openmanage' > /etc/apt/sources.list.d/linux.dell.com.sources.list
echo 'deb http://linux.dell.com/repo/community/openmanage/930/bionic bionic main' > /etc/apt/sources.list.d/linux.dell.com.sources.list
gpg --keyserver pool.sks-keyservers.net --recv-key 1285491434D8786F
gpg -a --export 1285491434D8786F | sudo apt-key add -
gpg -a --export 1285491434D8786F | sudo apt-key add -
apt-get update
apt-get install -y srvadmin-all
update-rc.d dsm_om_connsvc defaults
echo "@reboot root /usr/sbin/service dsm_om_connsvc start" > /etc/cron.d/dell_openmanage
sed -i "s@^root@root,admin@" /opt/dell/srvadmin/etc/omarolemap
service dsm_om_connsvc start
# dsm_om_connsvc is the service to start a web interface on https://<ip_address>:1311/
# by default, the interface is only available to the root user
# sed -i "s@^root@root,admin@" /opt/dell/srvadmin/etc/omarolemap
systemctl enable dsm_om_connsvc
systemctl start dsm_om_connsvc
fi
......@@ -28,7 +28,6 @@ init() {
python3 -u /root/envsetup/envsetup.py 31
python3 -u /root/envsetup/envsetup.py 32
python3 -u /root/envsetup/envsetup.py 33
python3 -u /root/envsetup/envsetup.py 34
python3 -u /root/envsetup/envsetup.py 11
python3 -u /root/envsetup/envsetup.py 12
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment