1
0
mirror of https://github.com/rancher/os.git synced 2025-09-18 16:27:31 +00:00

work around 'No help topic found' issue calling set-disk-partitions script on older RancherOS

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-01-18 01:44:42 +00:00
parent 8e5eba0ac5
commit 7765a3308d

View File

@@ -24,5 +24,8 @@ RUN echo "#!/bin/sh" > /scripts/set-disk-partitions \
&& echo "echo 'set-disk-partitions deprecated'" >> /scripts/set-disk-partitions \
&& chmod 755 /scripts/set-disk-partitions
# work around some really weird ros symptoms
RUN rm -rf /sbin/poweroff /sbin/shutdown /sbin/reboot /sbin/halt /usr/sbin/poweroff /usr/sbin/shutdown /usr/sbin/reboot /usr/sbin/halt
ENTRYPOINT ["/bin/ros", "install"]