From 5499fed441a98c606ec8628d506ec6cae050e69a Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 14 Aug 2018 15:55:15 -0700 Subject: [PATCH] Add documentation for --dracut-arg to lorax.1 And update documentation for lorax-composer. Make it clear that to pass the arguments you must single quote them. Like so: --dracut-arg='--xz' And that all dracut args must be passed, since it overrides the defaults. Related: rhbz#1452220 --- docs/man/livemedia-creator.1 | 7 ++++--- docs/man/lorax.1 | 8 +++++++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/man/livemedia-creator.1 b/docs/man/livemedia-creator.1 index 9967428d..44480140 100644 --- a/docs/man/livemedia-creator.1 +++ b/docs/man/livemedia-creator.1 @@ -1,4 +1,4 @@ -.TH LIVEMEDIA-CREATOR 1 2013\-07\-26 +.TH LIVEMEDIA-CREATOR 1 2018\-08\-14 .SH NAME livemedia-creator \- Create live install media @@ -235,8 +235,9 @@ firmware files need to be installed manually, they are not shipped with RHEL. .SH DRACUT ARGUMENTS: .TP -\fB\-\-dracut\-arg DRACUT_ARGS\fR -Argument to pass to dracut when rebuilding the initramfs. Pass this once foreach argument. NOTE: this overrides the default. +\fB\-\-dracut-arg='ARG'\fR +Argument to pass to dracut when rebuilding the initramfs. Pass this once for each argument, single quoting +the arguments like this: '--xz' NOTE: this overrides the default, so all dracut arguments must be included. .SH "SEE ALSO" Documentation in /usr/share/docs/lorax/README.livemedia-creator diff --git a/docs/man/lorax.1 b/docs/man/lorax.1 index 0ba42c09..d6d4df18 100644 --- a/docs/man/lorax.1 +++ b/docs/man/lorax.1 @@ -1,4 +1,4 @@ -.TH LORAX 1 2013\-07\-26 +.TH LORAX 1 2018\-08\-14 .SH NAME lorax \- Create installer boot iso @@ -97,6 +97,12 @@ Top level temporary directory \fB\-\-noverifyssl\fR This disables SSL certificate checking. eg. to allow using https: sources with self-signed certificates. +.SH DRACUT ARGUMENTS: +.TP +\fB\-\-dracut-arg='ARG'\fR +Argument to pass to dracut when rebuilding the initramfs. Pass this once for each argument, single quoting +the arguments like this: '--xz' NOTE: this overrides the default, so all dracut arguments must be included. + .SH AUTHORS .nf Martin Gracik