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
eb8fc8ea
Commit
eb8fc8ea
authored
7 years ago
by
Stéphane Diemer
Browse files
Options
Downloads
Patches
Plain Diff
Check if system is in LXC container for Dell packages.
parent
70f73c2d
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
3.New_server_deployment/5.Dell_openmanage/0_setup.sh
+5
-0
5 additions, 0 deletions
3.New_server_deployment/5.Dell_openmanage/0_setup.sh
with
5 additions
and
0 deletions
3.New_server_deployment/5.Dell_openmanage/0_setup.sh
+
5
−
0
View file @
eb8fc8ea
...
...
@@ -7,6 +7,11 @@ if ( ! dpkg -l | grep dmidecode ); then
fi
if
(
dmidecode |
grep
Dell
)
;
then
if
(
grep
-qa
container
=
lxc /proc/1/environ
)
;
then
echo
"The system is running in a LXC container, no Dell package will be installed."
exit
0
fi
echo
'deb http://linux.dell.com/repo/community/ubuntu xenial openmanage'
>
/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 -
...
...
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