[PATCH] virt-manager: don't drop .local for zeroconf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
we currently drop ".local" from zeroconf hostnames leading to name
lookup failures. I wonder why this is being done in the first place?
Attached patch removes it which makes libvirt daemons discovered via
avahi work for me.
Cheers,
 -- Guido

diff -r ef0bd366ec54 src/virtManager/connect.py
--- a/src/virtManager/connect.py	Sat Feb 07 18:37:10 2009 +0100
+++ b/src/virtManager/connect.py	Sat Feb 07 23:44:42 2009 +0100
@@ -249,8 +249,6 @@
         self.emit("completed", uri, readOnly, auto)
 
     def sanitize_hostname(self, host):
-        if host.endswith(".local"):
-            host = host[:-6]
         if host == "linux" or host == "localhost":
             host = ""
         if host.startswith("linux-"):
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux