RancherOS(ROS)如何安装到硬盘? 并设置为用户自动登录到系统? -a rancher.autologin=tty1

RancherOS 安装到硬盘,一般都是通过ssh_authorized_keys 方式。

-------------------------------------------

从第一次认识到这个方式起,就怀疑,肯定有方式让你直接登录才对啊!! 找啊找,终于在阿里云的一篇文档中找到了:


阿里云安装自定义ISO RancherOS

其中的关键是:

sudo ros install -c rancher-cloud-config.yml \
          -i registry.cn-hangzhou.aliyuncs.com/ranchers/os:v0.8.1 \
          -d /dev/xvda \
          -a rancher.autologin=tty1

  

就是这个 【-a rancher.autologin=tty1】 参数!!!

猜你喜欢

转载自www.cnblogs.com/jinzhenshui/p/9281480.html
今日推荐