1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00

add --debug logging option to installer, and a dummy set-disk-partitions

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-01-18 10:50:37 +10:00
parent ad5fad46ee
commit 8e5eba0ac5
4 changed files with 23 additions and 2 deletions

View File

@@ -19,5 +19,10 @@ COPY ./build/ros /bin/
RUN ln -s /bootiso/boot/ /dist
# need to make a /scripts/set-disk-partitions so that older releases can call the installer
RUN echo "#!/bin/sh" > /scripts/set-disk-partitions \
&& echo "echo 'set-disk-partitions deprecated'" >> /scripts/set-disk-partitions \
&& chmod 755 /scripts/set-disk-partitions
ENTRYPOINT ["/bin/ros", "install"]

View File

@@ -4,6 +4,4 @@ FROM rancher/os-installer
RUN rm /dist/ \
&& mkdir -p /dist/
#COPY ./ros /bin/
COPY ./boot/ /dist/