rancher / os

Tiny Linux distro that runs the entire OS as Docker containers
https://rancher.com/docs/os/v1.x/en/
Apache License 2.0
6.44k stars 655 forks source link

RancherOS doesn't auto-login on system console of Raspberry Pi build #2977

Open srcshelton opened 4 years ago

srcshelton commented 4 years ago

RancherOS Version: v1.5.5

Where are you running RancherOS? Raspberry Pi 3

According to the documentation at https://rancher.com/docs/os/v1.x/en/installation/running-rancheros/server/raspberry-pi/, the Raspberry Pi build of RancherOS can't accept a cloud-config.yml file by any means.

In addition, the v1.5.5 release of RancherOS boots to a:

rancher login:

... prompt on any attached HDMI display, which requires a username and a password to continue (and doesn't seem to accept rancher/rancher).

However, logging-in via SSH does work, without any keys stored on the Rancher image(!)

srcshelton commented 4 years ago

It looks as if a small update to cmdline.txt can fix this...

From:

+dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup-enable=memory swapaccount=1 elevator=deadline root wait console=ttyAMA0,115200 console=tty0 rancher.password=rancher rancher.autologin=ttyAMA0 rw init=/init

To:

+dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup-enable=memory swapaccount=1 elevator=deadline root wait console=tty1 rancher.autologin=tty1 console=ttyAMA0,115200 rancher.autologin=ttyAMA0 console=tty0 rancher.password=rancher rw init=/init