Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
grid5000-code
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
grid5000
grid5000-code
Commits
ed35ace2
Commit
ed35ace2
authored
3 years ago
by
Simon Delamare
Browse files
Options
Downloads
Patches
Plain Diff
[g5k-setup-docker] Add -p option to mkdirs
parent
9dba70d0
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#336933
passed
3 years ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/g5k-setup-docker
+2
-2
2 additions, 2 deletions
bin/g5k-setup-docker
with
2 additions
and
2 deletions
bin/g5k-setup-docker
+
2
−
2
View file @
ed35ace2
...
@@ -17,8 +17,8 @@ def main
...
@@ -17,8 +17,8 @@ def main
ret
=
true
ret
=
true
ret
&=
sh
(
'sudo-g5k'
).
first
if
Process
.
euid
!=
0
ret
&=
sh
(
'sudo-g5k'
).
first
if
Process
.
euid
!=
0
if
options
[
:tmp
]
if
options
[
:tmp
]
ret
&=
sh
(
'sudo mkdir /tmp/docker'
).
first
ret
&=
sh
(
'sudo mkdir
-p
/tmp/docker'
).
first
ret
&=
sh
(
'sudo mkdir /var/lib/docker'
).
first
ret
&=
sh
(
'sudo mkdir
-p
/var/lib/docker'
).
first
ret
&=
sh
(
'sudo mount --bind /tmp/docker /var/lib/docker'
).
first
ret
&=
sh
(
'sudo mount --bind /tmp/docker /var/lib/docker'
).
first
end
end
cpu_arch
=
`uname -m`
.
strip
cpu_arch
=
`uname -m`
.
strip
...
...
This diff is collapsed.
Click to expand it.
Nicolas Perrin
@niperrin
mentioned in commit
c02ce127
·
3 years ago
mentioned in commit
c02ce127
mentioned in commit c02ce1271a856c601d222018ba1fd896b3077ca7
Toggle commit list
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