Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eos
eos-docker
Commits
4bb94bd9
Commit
4bb94bd9
authored
Mar 18, 2019
by
Fabio Luchetti
Browse files
Use automatic 'yes' answer to sss keytab deletion/creation prompt
parent
d48f1ff3
Pipeline
#758956
skipped with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
4bb94bd9
...
...
@@ -48,8 +48,8 @@ RUN createrepo ${EOSREPODIR}; \
# Generate a new forwardable keytab 'eos-test+' to replace the not-forwardable one (installed by the eos-testkeytab package).
# This is useful to deploy EOS on Kubernetes clusters running on CERN's Cloud Infrastructure; you can remove these lines if you don't need one.
RUN
xrdsssadmin
-k
eos-test del /etc/eos.keytab
;
\
xrdsssadmin
-u
daemon
-g
daemon
-k
eos-test+
-n
1234567890123456789 add /etc/eos.keytab
;
\
RUN
yes
|
xrdsssadmin
-k
eos-test del /etc/eos.keytab
;
\
yes
|
xrdsssadmin
-u
daemon
-g
daemon
-k
eos-test+
-n
1234567890123456789 add /etc/eos.keytab
;
\
chown
daemon:daemon /etc/eos.keytab
ENTRYPOINT
["/bin/bash"]
Dockerfile_asan
View file @
4bb94bd9
...
...
@@ -45,8 +45,8 @@ RUN createrepo ${EOSREPODIR}; \
# Generate a new forwardable keytab 'eos-test+' to replace the not-forwardable one (installed by the eos-testkeytab package).
# This is useful to deploy EOS on Kubernetes clusters running on CERN's Cloud Infrastructure; you can remove these lines if you don't need one.
RUN xrdsssadmin -k eos-test del /etc/eos.keytab; \
xrdsssadmin -u daemon -g daemon -k eos-test+ -n 1234567890123456789 add /etc/eos.keytab; \
RUN
yes |
xrdsssadmin -k eos-test del /etc/eos.keytab; \
yes |
xrdsssadmin -u daemon -g daemon -k eos-test+ -n 1234567890123456789 add /etc/eos.keytab; \
chown daemon:daemon /etc/eos.keytab
ENTRYPOINT ["/bin/bash"]
Dockerfile_xrd_testing
View file @
4bb94bd9
...
...
@@ -49,8 +49,8 @@ RUN createrepo ${EOSREPODIR}; \
# Generate a new forwardable keytab 'eos-test+' to replace the not-forwardable one (installed by the eos-testkeytab package).
# This is useful to deploy EOS on Kubernetes clusters running on CERN's Cloud Infrastructure; you can remove these lines if you don't need one.
RUN xrdsssadmin -k eos-test del /etc/eos.keytab; \
xrdsssadmin -u daemon -g daemon -k eos-test+ -n 1234567890123456789 add /etc/eos.keytab; \
RUN
yes |
xrdsssadmin -k eos-test del /etc/eos.keytab; \
yes |
xrdsssadmin -u daemon -g daemon -k eos-test+ -n 1234567890123456789 add /etc/eos.keytab; \
chown daemon:daemon /etc/eos.keytab
ENTRYPOINT ["/bin/bash"]
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