1
0
mirror of https://github.com/rancher/os.git synced 2025-06-22 21:17:02 +00:00
os/scripts/dockerimages/06-console

8 lines
340 B
Plaintext
Raw Normal View History

2015-02-09 04:38:37 +00:00
FROM base
2015-02-19 18:26:59 +00:00
COPY scripts/dockerimages/scripts/console.sh /usr/sbin/
COPY scripts/dockerimages/scripts/update-ssh-keys /usr/bin/
RUN sed -i 's/rancher:!/rancher:*/g' /etc/shadow && \
2015-02-21 07:34:57 +00:00
echo '## allow password less for rancher user' >> /etc/sudoers && \
echo 'rancher ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
2015-02-19 18:26:59 +00:00
CMD ["/usr/sbin/console.sh"]