not just console=*, excluding image related parameters (rootfs,initrd...)
This is to allow vendor-specific boot parameters to survive when the
image is installed.

Signed-off-by: Alan Pevec <[email protected]>
---
 scripts/ovirt-early |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/scripts/ovirt-early b/scripts/ovirt-early
index 4b85102..c2186f8 100755
--- a/scripts/ovirt-early
+++ b/scripts/ovirt-early
@@ -426,13 +426,16 @@ start_ovirt_early () {
             i=${i#collectd=}
             eval $(printf $i|awk -F: '{print "collectd_server="$1; print 
"collectd_port="$2;}')
             ;;
-            console=*)
-            bootparams="$bootparams $i"
-            ;;
             ovirt_early=*)
             i=${i#ovirt_early=}
             ovirt_early=$(echo $i|tr ",:;" " ")
             ;;
+            BOOT_IMAGE=* | initrd=* | check | linux | liveimg | \
+            root=* | rootfstype=* | rootflags=* | ro)
+            ;;
+            *)
+            bootparams="$bootparams $i"
+            ;;
         esac
     done
 
-- 
1.6.0.6

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

Reply via email to