[Ovirt-devel] [PATCH node] save all not-parsed boot parameters
Alan Pevec
apevec at redhat.com
Wed May 12 20:02:19 UTC 2010
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 <apevec at redhat.com>
---
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
More information about the ovirt-devel
mailing list