Commit 056d47ca authored by Fabio Luchetti's avatar Fabio Luchetti
Browse files

Added forwardable keytab generation in 'ubuntu_client' and 'xrd_testing' Dockerfile.

parent 517d5ae8
Pipeline #756392 skipped with stage
......@@ -48,11 +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 mkdir /root/.xrd; \
mv /etc/eos.keytab /root/.xrd/sss.keytab; \
xrdsssadmin -k eos-test del; \
xrdsssadmin -u daemon -g daemon -k eos-test+ -n 1234567890123456789 add; \
mv /root/.xrd/sss.keytab /etc/eos.keytab; \
RUN xrdsssadmin -k eos-test del /etc/eos.keytab; \
xrdsssadmin -u daemon -g daemon -k eos-test+ -n 1234567890123456789 add /etc/eos.keytab; \
chown daemon:daemon /etc/eos.keytab
ENTRYPOINT ["/bin/bash"]
......@@ -47,4 +47,10 @@ RUN createrepo ${EOSREPODIR}; \
eos-server eos-testkeytab eos-archive eos-client \
eos-debuginfo eos-fuse eos-fusex eos-test
# 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; \
chown daemon:daemon /etc/eos.keytab
ENTRYPOINT ["/bin/bash"]
......@@ -49,4 +49,10 @@ RUN apt-get install -y eos-client eos-fusex xrootd-client-dbgsym xrootd-client-d
xrootd-client xrootd-devel xrootd-libs-dbgsym xrootd-libs xrootd-private-devel \
eos-test eos-testkeytab
# 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; \
chown daemon:daemon /etc/eos.keytab
ENTRYPOINT ["/bin/bash"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment