1
0
mirror of https://github.com/rancher/os.git synced 2025-09-25 12:47:20 +00:00

Replace partprobe with partx

This commit is contained in:
Josh Curl
2016-08-18 15:35:39 -07:00
parent a81be13f82
commit da69a464fb
2 changed files with 2 additions and 7 deletions

View File

@@ -33,6 +33,7 @@ RUN rm /sbin/poweroff /sbin/reboot /sbin/halt && \
echo '%sudo ALL=(ALL) ALL' >> /etc/sudoers
COPY inputrc /etc/inputrc
COPY growpart /usr/bin/growpart
RUN sed -i -e 's/duid/clientid/g' /etc/dhcpcd.conf
RUN sed -i s/"partx --update \"\$part\" \"\$dev\""/"partx --update --nr \"\$part\" \"\$dev\""/g /usr/bin/growpart && \
sed -i -e 's/duid/clientid/g' /etc/dhcpcd.conf
ENTRYPOINT ["/usr/bin/ros", "entrypoint"]