1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 23:04:41 +00:00

Added rancheros-installer script

This script will call out to pull an os-installer container. It handles
orchestrating the install process.
This commit is contained in:
Bill Maxwell
2015-03-03 15:44:06 -07:00
parent 6a368be180
commit c4762e4d94
3 changed files with 119 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
FROM base
COPY scripts/dockerimages/scripts/console.sh /usr/sbin/
COPY scripts/dockerimages/scripts/update-ssh-keys /usr/bin/
COPY scripts/dockerimages/scripts/rancheros-install /usr/sbin/
RUN sed -i 's/rancher:!/rancher:*/g' /etc/shadow && \
echo '## allow password less for rancher user' >> /etc/sudoers && \
echo 'rancher ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers