Skip to content

Instantly share code, notes, and snippets.

@aledbf
Last active August 29, 2015 14:09
Show Gist options
  • Save aledbf/70a0887b5aa925243141 to your computer and use it in GitHub Desktop.
Save aledbf/70a0887b5aa925243141 to your computer and use it in GitHub Desktop.
# Mount the boot partition. The device name will probably be different from "vda".
mount /dev/vda1 /mnt/
# Double check that we are in the right place
cat /mnt/syslinux/boot_kernel.cfg
#label boot_kernel
# menu label boot_kernel
# kernel vmlinuz-boot_kernel
# append console=ttyS0,115200n8 console=tty0 ro noswap cros_legacy root=LABEL=ROOT rootflags=subvol=root usr=gptprio:
# Disable the password check
echo "$(cat /mnt/syslinux/boot_kernel.cfg) coreos.autologin" > /mnt/syslinux/boot_kernel.cfg
# Unmount the boot partition
unmount /mnt/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment