Displaying 2 results from an estimated 2 matches for "c96d6fe".
Did you mean:
  c96d5f1e
  
2011 Aug 25
0
[PATCH node] always remove HostVG in dracut when reinstall/uninstall/firstboot passed
...t/install
+++ b/dracut/install
@@ -2,6 +2,7 @@
 inst yes
 inst head
+inst awk
 inst_hook pre-pivot 01 "$moddir/ovirt-cleanup.sh"
 inst_simple "$moddir/ovirt-boot-functions" /sbin/ovirt-boot-functions
diff --git a/dracut/ovirt-cleanup.sh b/dracut/ovirt-cleanup.sh
index 1d7db84..c96d6fe 100755
--- a/dracut/ovirt-cleanup.sh
+++ b/dracut/ovirt-cleanup.sh
@@ -40,10 +40,19 @@ if [ $? -eq 1 ]; then
     storage_init="$(getargs ovirt_init)"
     if [ $? -eq 1 ]; then
         info "storage_init or ovirt_init arguments not found"
-        return 0
+    else
+        i...
2011 Sep 09
0
[PATCH node] only wipe HostVG if storage_init is not passed in dracut
rhbz#736971
Signed-off-by: Mike Burns <mburns at redhat.com>
---
 dracut/ovirt-cleanup.sh |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/dracut/ovirt-cleanup.sh b/dracut/ovirt-cleanup.sh
index c96d6fe..e9674d8 100755
--- a/dracut/ovirt-cleanup.sh
+++ b/dracut/ovirt-cleanup.sh
@@ -48,11 +48,16 @@ fi
 # Check for HostVG
 lvm pvscan >/dev/null 2>&1
-for hostvg in $(lvm pvs --noheadings -o vg_name,pv_name 2>/dev/null | awk '/^  HostVG/{print $2}'); do
-    storage_init="$h...