findfs in F12 finds partitions on /dev/sdX devices instead of
/dev/mapper/<wwid> devices.  This sets an option that forces
findfs to scan instead.

Signed-off-by: Mike Burns <[email protected]>
---
 recipe/common-post.ks |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/recipe/common-post.ks b/recipe/common-post.ks
index 9243751..0a2e180 100644
--- a/recipe/common-post.ks
+++ b/recipe/common-post.ks
@@ -192,3 +192,7 @@ patch -d /etc/init.d/ -p0 <<\EOF
     
/(loopfs|autofs|nfs|cifs|smbfs|ncpfs|sysfs|^none|^\/dev\/ram|^\/dev\/root$)/ 
{next}
    {print $2}' /proc/mounts \
 EOF
+
+# Need this for F12 findfs calls
+# Otherwise, findfs returns /dev/sdX instead of /dev/mapper/<wwid>
+echo "EVALUATE=scan" > /etc/blkid.conf
-- 
1.6.6.1

_______________________________________________
Ovirt-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ovirt-devel

Reply via email to