Created
June 10, 2014 18:01
-
-
Save joemiller/d64efa3e10000cadda81 to your computer and use it in GitHub Desktop.
fix extlinux bootloader on rackspace fedora-20 image (may 28th version: 5596255c-e9ae-48da-866c-9bbdd345ed39)
This file contains hidden or 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
| #!/bin/sh | |
| if file -s /dev/xvda | grep -i syslinux ; then | |
| echo "detected SYSLINUX / EXTLINUX bootloader" | |
| [ -f "/boot/extlinux.conf" ] && rm -f /boot/extlinux.conf && extlinux --update /boot/extlinux | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment