[PATCH] Allow kickstart to use stdin in pre and post (#975063)
Vratislav Podzimek
vpodzime at redhat.com
Mon Jun 24 12:02:06 UTC 2013
On Fri, 2013-06-21 at 13:32 -0700, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
>
> ---
> pyanaconda/kickstart.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
> index fea9697..7ea72a2 100644
> --- a/pyanaconda/kickstart.py
> +++ b/pyanaconda/kickstart.py
> @@ -117,7 +117,7 @@ class AnacondaKSScript(KSScript):
>
> with open(messages, "w") as fp:
> rc = iutil.execWithRedirect(self.interp, ["/tmp/%s" % os.path.basename(path)],
> - stdin=fp, stdout=fp,
> + stdout=fp,
> root = scriptRoot)
>
> if rc != 0:
ACK.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list