I added the following to my
cloud-config, which though is a workaround,
but does solve my problem:
- "ip addr show | grep inet >> /etc/issue"
Still would be nice to know how to enable
auto-login after reboot on bare metal installations.
It caused me more trouble as
ros config is incapable to parse this line, therefore the rest of the config was not included:
# ros config export
ERRO Failed to parse config file /var/lib/rancher/conf/cloud-config.d/user_config.yml: Cannot resolve ip addr show | grep inet >> /etc/issue into <string Value> at line 5, column 2
It’s weird because, this line is actually run on boot and
/etc/issue is properly updated…
After all there’s undocumented (?) method to
auto-login rancher user after installation:
# ros install -d /dev/sda -a rancher.autologin=tty1