pass persistent name to dracut --device

For raw device dump, also pass persistent name to dracut --device to fix
the device renaming problem.

Signed-off-by: Dave Young <dyoung@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
Dave Young 2012-09-20 11:03:24 +08:00
parent 9d161703a6
commit 4ff4287ce7

View File

@ -230,7 +230,7 @@ do
echo "Bad raw disk $config_val"
exit 1
}
add_dracut_arg "--device" "$config_val"
add_dracut_arg "--device" "$(get_persistent_dev $config_val)"
check_size raw $config_val
;;
ssh)