[PATCH] hostname has dropped -v option

Brian C. Lane bcl at redhat.com
Mon May 6 16:19:08 UTC 2013


From: "Brian C. Lane" <bcl at redhat.com>

---
 pyanaconda/network.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/network.py b/pyanaconda/network.py
index 090141c..7487f32 100644
--- a/pyanaconda/network.py
+++ b/pyanaconda/network.py
@@ -672,7 +672,7 @@ def set_hostname(hn):
         return
 
     log.info("setting installation environment hostname to %s" % hn)
-    iutil.execWithRedirect("hostname", ["-v", hn ])
+    iutil.execWithRedirect("hostname", [hn])
 
 def write_hostname(rootpath, ksdata, overwrite=False):
     cfgfile = os.path.normpath(rootpath + hostnameFile)
-- 
1.8.1.4



More information about the anaconda-patches mailing list