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