[PATCH 2/2] Treat the output of vncpasswd as binary data, since it is (#1045119)
David Shea
dshea at redhat.com
Thu Dec 19 19:22:23 UTC 2013
Also don't write the output to program.log
---
pyanaconda/vnc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/vnc.py b/pyanaconda/vnc.py
index 1528468..109fc50 100644
--- a/pyanaconda/vnc.py
+++ b/pyanaconda/vnc.py
@@ -85,7 +85,7 @@ class VncServer:
with open(self.pw_file, "w") as pw_file:
# the -f option makes sure vncpasswd does not ask for the password again
rc = iutil.execWithRedirect("vncpasswd", ["-f"],
- stdin=r, stdout=pw_file)
+ stdin=r, stdout=pw_file, binary_output=True, log_output=False)
os.close(r)
os.close(w)
--
1.8.4.2
More information about the anaconda-patches
mailing list