Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
olcf
container-builder
Commits
51c87231
Commit
51c87231
authored
Jan 30, 2018
by
atj
Browse files
Fix file owner for service environment file
parent
94cb6198
Pipeline
#11564
failed with stages
in 54 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Scripts/create-builder-image.sh
View file @
51c87231
...
...
@@ -75,6 +75,7 @@ echo "DOCKERHUB_READONLY_USERNAME=${DOCKERHUB_READONLY_USERNAME}" >> ./registry-
echo
"DOCKERHUB_READONLY_TOKEN=
${
DOCKERHUB_READONLY_TOKEN
}
"
>>
./registry-credentials
scp
-o
StrictHostKeyChecking
=
no
-i
${
KEY_FILE
}
./registry-credentials cades@
${
VM_IP
}
:/home/cades/registry-credentials
ssh
-o
StrictHostKeyChecking
=
no
-i
${
KEY_FILE
}
cades@
${
VM_IP
}
'sudo mv /home/cades/registry-credentials /home/builder/registry-credentials'
ssh
-o
StrictHostKeyChecking
=
no
-i
${
KEY_FILE
}
cades@
${
VM_IP
}
'sudo chown builder /home/builder/registry-credentials'
echo
"Reboot the server to ensure its in a clean state before creating the snapshot"
openstack server reboot
--wait
${
VM_UUID
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment