Displaying 2 results from an estimated 2 matches for "1d7db84".
2011 Aug 22
0
[PATCH node] handle wildcards appropriately in dracut plugin
...b, /dev/vdc
etc existed, it would match all of those as well.
rhbz#726843
Signed-off-by: Mike Burns <mburns at redhat.com>
---
dracut/ovirt-cleanup.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dracut/ovirt-cleanup.sh b/dracut/ovirt-cleanup.sh
index e36a265..1d7db84 100755
--- a/dracut/ovirt-cleanup.sh
+++ b/dracut/ovirt-cleanup.sh
@@ -55,12 +55,15 @@ info "Found storage_init: $storage_init"
# Since we only care which disks are being used, change to a single list
storage_init="$(echo "$storage_init" | sed 's/;/,/')"
in...
2011 Aug 25
0
[PATCH node] always remove HostVG in dracut when reinstall/uninstall/firstboot passed
...- a/dracut/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
+...