Alan Pevec
2010-May-04 22:27 UTC
[Ovirt-devel] [PATCH node] save all not-parsed boot parameters
not just consoleThis is to allow vendor-specific boot parameters to survive when the image is installed to disk. Signed-off-by: Alan Pevec <apevec at redhat.com> --- scripts/ovirt-early | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ovirt-early b/scripts/ovirt-early index 4b85102..c17ea74 100755 --- a/scripts/ovirt-early +++ b/scripts/ovirt-early @@ -426,13 +426,13 @@ 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 ",:;" " ") ;; + *) + bootparams="$bootparams $i" + ;; esac done -- 1.6.0.6
Ricardo Marin Matinata
2010-May-11 20:04 UTC
[Ovirt-devel] [PATCH node] save all not-parsed boot parameters
I think this patch is really useful, specially towards automated PXE installations. I do have, however, one comment below with regard to escaping typical boot parameters, not intended to be passed-on to the final installed node... On Wed, 2010-05-05 at 00:27 +0200, Alan Pevec wrote:> not just console> This is to allow vendor-specific boot parameters to survive when the > image is installed to disk. > > Signed-off-by: Alan Pevec <apevec at redhat.com> > --- > scripts/ovirt-early | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/scripts/ovirt-early b/scripts/ovirt-early > index 4b85102..c17ea74 100755 > --- a/scripts/ovirt-early > +++ b/scripts/ovirt-early > @@ -426,13 +426,13 @@ 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 ",:;" " ") > ;;+ root=*|BOOT_IMAGE=*|rootfstype=*|initrd=*|check|rootflags=*|ro| linux|liveimg) + ;;> + *) > + bootparams="$bootparams $i" > + ;; > esac > done >-- Ricardo Marin Matinata Linux Technology Center IBM Brazil | Hortolandia | SP matinata br ibm com
Alan Pevec
2010-May-12 20:02 UTC
[Ovirt-devel] [PATCH node] save all not-parsed boot parameters
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
Reasonably Related Threads
- [PATCH] Add support for vendor hooks during ovirt-early start()
- [PATCH] RFC: Encrypted swap support
- [PATCH] add netconsole autoinstall parameter
- [PATCH] RFC: Advanced Storage Configuration
- [PATCH] Changes the start/stop/reload method names for sysvinit scripts.