1
0
mirror of https://github.com/rancher/os.git synced 2025-08-02 07:24:28 +00:00

Add wpa_supplicant hook in dhcpcd

This commit is contained in:
niusmallnan 2018-11-05 16:45:41 +08:00
parent 971f295092
commit 1633698e05

View File

@ -39,6 +39,8 @@ COPY dhcpcd/10-mtu /lib/dhcpcd/dhcpcd-hooks/
COPY dhcpcd/dhcpcd.debug /usr/share/logrotate/logrotate.d/
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 && \
rm -f /etc/wpa_supplicant.conf && \
ln -s /usr/share/dhcpcd/hooks/10-wpa_supplicant /lib/dhcpcd/dhcpcd-hooks/ && \
sed -i 1,10d /etc/rsyslog.conf && \
echo "*.* /var/log/syslog" >> /etc/rsyslog.conf
# dump kernel log to console (but after we've finished booting)