瀏覽代碼

enable auto login for rancher and prune uneeded options

thelamer 5 年之前
父節點
當前提交
cf9b53ddcc
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      roles/netbootxyz/templates/menu/rancheros.ipxe.j2

+ 1 - 3
roles/netbootxyz/templates/menu/rancheros.ipxe.j2

@@ -19,10 +19,8 @@ set folder ${rancheros_base_dir}
 goto boot
 
 :boot
-echo Login in with username: rancher, password: rancher
-echo To install: ros install -d /dev/sda1
 imgfree
-kernel ${url}/${folder}/vmlinuz rancher.state.autoformat=[/dev/sda] rancher.password=rancher initrd=initrd
+kernel ${url}/${folder}/vmlinuz rancher.autologin=tty initrd=initrd
 initrd ${url}/${folder}/initrd
 boot