Last active
August 29, 2015 14:09
-
-
Save aledbf/70a0887b5aa925243141 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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