mirror of
https://github.com/rancher/os.git
synced 2025-07-17 16:41:04 +00:00
Use consistent device names
This commit is contained in:
parent
43e3d380f4
commit
402cbbdf6f
@ -1,6 +1,5 @@
|
|||||||
FROM scratch
|
FROM scratch
|
||||||
ADD assets/rootfs.tar /
|
ADD assets/rootfs.tar /
|
||||||
RUN ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules
|
|
||||||
# Cleanup Buildroot
|
# Cleanup Buildroot
|
||||||
RUN rm /sbin/poweroff /sbin/reboot /sbin/halt && \
|
RUN rm /sbin/poweroff /sbin/reboot /sbin/halt && \
|
||||||
sed -i '/^root/s!/bin/sh!/bin/bash!' /etc/passwd && \
|
sed -i '/^root/s!/bin/sh!/bin/bash!' /etc/passwd && \
|
||||||
|
Loading…
Reference in New Issue
Block a user