Commit fb1c7251 authored by Natanael Copa's avatar Natanael Copa

setup-disk: do not use UUID for raid devices

This fixes #177, the issues with "No operating system found" on boot
parent 9158a74b
......@@ -23,6 +23,9 @@ _blkid() {
# if given device have an UUID display it, otherwise return the device
uuid_or_device() {
local i=
case "$1" in
/dev/md*) echo "$1" && return 0;;
esac
for i in $(_blkid "$1"); do
case "$i" in
UUID=*) eval $i;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment