[PATCH] Function getDefaultHostname was renamed some time ago.

Radek Vykydal rvykydal at redhat.com
Wed Jan 23 12:49:16 UTC 2013


---
 anaconda | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/anaconda b/anaconda
index e5b9d41..043852e 100755
--- a/anaconda
+++ b/anaconda
@@ -607,7 +607,7 @@ def prompt_for_ssh():
     except Exception as e:
         stdoutLog.debug("Exception caught trying to get host name of %s: %s" %
                   (ipstr, e))
-        name = network.getDefaultHostname(None)
+        name = network.getHostname()
     else:
         if len(hinfo) == 3:
             name = hinfo[0]
-- 
1.7.11.7



More information about the anaconda-patches mailing list