diff --git a/base.Pifile b/base.Pifile index 79506fa..e6b5b91 100644 --- a/base.Pifile +++ b/base.Pifile @@ -15,14 +15,7 @@ hostname=kolibri RUN sed -i "s/raspberrypi/${hostname}/g" /etc/hostname RUN sed -i "s/raspberrypi/${hostname}/g" /etc/hosts -# Set password for specified user (pi by default) -echo "Changing password of pi..." - -# Redirect output to prevent echoing sensitive information to stdout -RUN << EOF &> /dev/null -bash -c "echo ${user}:kolibrifly | chpasswd" -EOF echo "Done." @@ -76,10 +69,24 @@ RUN tee /etc/default/dnsmasq < /boot/firmware/userconf.txt' + +# avoid keyboard setup questions blocking first boot: +RUN sh -c 'echo "keyboard-configuration keyboard-configuration/layout select English (US)" | sudo debconf-set-selections' +RUN tee -a /boot/firmware/cmdline.txt<