1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 22:32:14 +00:00

Remove unnecessary bash-completion files in the default console

This commit is contained in:
niusmallnan
2018-12-25 15:25:12 +08:00
parent d8953c34a8
commit 673d2142c0

View File

@@ -37,6 +37,7 @@ RUN rm /sbin/poweroff /sbin/reboot /sbin/halt && \
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/ && \
rm -f /usr/share/bash-completion/completions/* && \
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)