[node-devel] [PATCH node] fix uninstall wiping of boot disks

Mike Burns mburns at redhat.com
Thu Oct 13 14:16:01 UTC 2011


calling function get_root_disk when function is actually
get_root_device

rhbz#738182

Signed-off-by: Mike Burns <mburns at redhat.com>
---
 scripts/ovirt-early |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/ovirt-early b/scripts/ovirt-early
index 28ebd05..6c22054 100755
--- a/scripts/ovirt-early
+++ b/scripts/ovirt-early
@@ -679,7 +679,7 @@ start_ovirt_early () {
         oldIFS=$IFS
         log "Found uninstall arg, wiping mbr from init disks"
         IFS=$SEP
-        for init_disk in $init $init_app $(get_boot_disk); do
+        for init_disk in $init $init_app $(get_boot_device); do
             echo "Wiping $init_disk"
             wipe_mbr "$init_disk"
         done
-- 
1.7.4.4




More information about the node-devel mailing list