ソースを参照

Merge pull request #510 from netbootxyz/ranchertweak

enable auto login for rancher and prune uneeded options
Antony Messerli 5 年 前
コミット
2595432dcd
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=tty1 initrd=initrd
 initrd ${url}/${folder}/initrd
 boot