Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Very Demiurge Very Mindful
Kolla Ansible
Commits
a0dc58e0
Commit
a0dc58e0
authored
8 years ago
by
Christian Berendt
Browse files
Options
Downloads
Patches
Plain Diff
Use sudo to create loop device on gate nodes
TrivialFix Change-Id: Iaa8ff2592d89a91081383e1f9c23c860bb73bba5
parent
60e13ec1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/setup_Debian.sh
+1
-1
1 addition, 1 deletion
tools/setup_Debian.sh
tools/setup_RedHat.sh
+1
-1
1 addition, 1 deletion
tools/setup_RedHat.sh
with
2 additions
and
2 deletions
tools/setup_Debian.sh
+
1
−
1
View file @
a0dc58e0
...
...
@@ -30,7 +30,7 @@ function setup_disk {
if
[
!
-f
/docker
]
;
then
sudo dd
if
=
/dev/zero
of
=
/docker
bs
=
1M
count
=
10240
losetup
-f
/docker
sudo
losetup
-f
/docker
DEV
=
$(
losetup
-a
|
awk
-F
:
'/\/docker/ {print $1}'
)
fi
...
...
This diff is collapsed.
Click to expand it.
tools/setup_RedHat.sh
+
1
−
1
View file @
a0dc58e0
...
...
@@ -14,7 +14,7 @@ function setup_disk {
if
[
!
-f
/docker
]
;
then
sudo dd
if
=
/dev/zero
of
=
/docker
bs
=
1M
count
=
20480
losetup
-f
/docker
sudo
losetup
-f
/docker
DEV
=
$(
losetup
-a
|
awk
-F
:
'/\/docker/ {print $1}'
)
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