Joey Boggs wrote:
When trying to install the node /boot shows up in /proc/mounts due to the tmpfs 
entry. Switching it to /etc/mtab to validate if /boot is actually mounted
---
 scripts/ovirt-functions |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions
index 98e88e7..e660cd7 100644
--- a/scripts/ovirt-functions
+++ b/scripts/ovirt-functions
@@ -263,7 +263,7 @@ mount_live() {
 # mount boot partition
 # boot loader + kernel + initrd
 mount_boot() {
-    if grep -q " /boot " /proc/mounts; then
+    if grep -q " /boot " /etc/mtab; then
         return 0
     fi
     mkdir -p /boot
acked and passed autobuild, pushed to next

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

Reply via email to