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:
@@ -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"]
|
||||
|
||||
|
Reference in New Issue
Block a user