1
0
mirror of https://github.com/rancher/os.git synced 2025-08-30 21:26:09 +00:00

Add autologin key to scripts/run

This commit is contained in:
Josh Curl 2016-08-22 11:20:04 -07:00
parent bbab6aa760
commit e4a94a81ef
No known key found for this signature in database
GPG Key ID: 82B504B9BCCFA677

View File

@ -120,7 +120,7 @@ if [ "$REBUILD" == "1" ] || [ ! -e ${INITRD} ]; then
popd >/dev/null
fi
KERNEL_ARGS="quiet rancher.password=rancher console=${TTYCONS} ${QEMU_APPEND}"
KERNEL_ARGS="quiet rancher.password=rancher console=${TTYCONS} rancher.autologin=${TTYCONS} ${QEMU_APPEND}"
if [ "$FORMAT" == "1" ]; then
KERNEL_ARGS="${KERNEL_ARGS} rancher.state.dev=LABEL=RANCHER_STATE rancher.state.formatzero=true rancher.state.autoformat=[/dev/sda,/dev/vda]"
fi