1
0
mirror of https://github.com/rancher/os.git synced 2025-09-19 17:38:30 +00:00
Files
os/scripts/dockerimages/06-console
Darren Shepherd d2dd4db6b1 Script updates
2015-02-22 20:59:44 -07:00

7 lines
311 B
Plaintext

FROM base
COPY scripts/dockerimages/scripts/console.sh /usr/sbin/
RUN sed -i 's/rancher.*/rancher:rixbL64o6zGmY:16486:0:99999:7:::/g' /etc/shadow && \
echo '## allow password less for rancher user' >> /etc/sudoers && \
echo 'rancher ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
CMD ["/usr/sbin/console.sh"]