Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mediaserver
envsetup
Commits
8218e057
Commit
8218e057
authored
8 years ago
by
Julien Allary
Browse files
Options
Downloads
Patches
Plain Diff
dell openmanage installation
parent
5660a6ba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
23.Initialize_environment/0_setup.sh
+24
-0
24 additions, 0 deletions
23.Initialize_environment/0_setup.sh
with
24 additions
and
0 deletions
23.Initialize_environment/0_setup.sh
+
24
−
0
View file @
8218e057
...
@@ -26,3 +26,27 @@ usermod -aG sudo admin
...
@@ -26,3 +26,27 @@ usermod -aG sudo admin
if
(
!
test
-z
${
SHELL_ADMIN_PWD
}
)
;
then
if
(
!
test
-z
${
SHELL_ADMIN_PWD
}
)
;
then
echo
-e
"
${
SHELL_ADMIN_PWD
}
\n
${
SHELL_ADMIN_PWD
}
"
| passwd
-q
admin
echo
-e
"
${
SHELL_ADMIN_PWD
}
\n
${
SHELL_ADMIN_PWD
}
"
| passwd
-q
admin
fi
fi
# DELL server - install dell openmanage
if
(
!
dpkg
-l
|
grep
dmidecode
)
then
aptitude
install
-y
dmidecode
fi
dmidecode
>
/tmp/dmidecode
if
(
grep
Dell /tmp/dmidecode
)
then
echo
'deb http://linux.dell.com/repo/community/ubuntu xenial openmanage'
|
sudo tee
-a
/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 -
aptitude update
&&
aptitude
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
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment