Use UUIDs in /boot/grub/grub.cfg for VM builds rather than hardcoding /dev/sda
authorPatrick Schleizer <adrelanos@riseup.net>
Mon, 13 Oct 2014 11:05:01 +0000 (13:05 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 13 Oct 2014 19:05:18 +0000 (21:05 +0200)
commitba9ff1fa9d44a2b64bfc885c7bd9117d9874ce56
treebce4548a1b873b489418efb95a189c32fb3f532a
parentbd598a0a83a368fd4692afa3b1967f0ccff8b2d8
Use UUIDs in /boot/grub/grub.cfg for VM builds rather than hardcoding /dev/sda

This allows booting the image in KVM as either sda or vda without
requiring any manual changes in /boot/grub/grub.cfg.  Use
FIXED_DISK_IDENTIFIERS="yes" for VM builds by default.

Patch rebased by Michael Prokop <mika@grml.org>
Fixes #29 @ github
config
grml-debootstrap