7344db959d
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=086244c20ab5b11387af1571a0b5180c
20 lines
821 B
Diff
20 lines
821 B
Diff
Index: virt-manager-0.8.4/src/virtManager/console.py
|
|
===================================================================
|
|
--- virt-manager-0.8.4.orig/src/virtManager/console.py
|
|
+++ virt-manager-0.8.4/src/virtManager/console.py
|
|
@@ -515,11 +515,11 @@ class vmmConsolePages(gobject.GObject):
|
|
#
|
|
nc_params = "%s %s" % (vncaddr, str(vncport))
|
|
nc_cmd = [\
|
|
- "nc -q 2>&1 | grep -q 'requires an argument';"
|
|
+ "netcat -q 2>&1 | grep -q 'requires an argument';"
|
|
"if [ $? -eq 0 ] ; then"
|
|
- " CMD='nc -q 0 %(nc_params)s';"
|
|
+ " CMD='netcat -q 0 %(nc_params)s';"
|
|
"else"
|
|
- " CMD='nc %(nc_params)s';"
|
|
+ " CMD='netcat %(nc_params)s';"
|
|
"fi;"
|
|
"$CMD;" % {'nc_params': nc_params}
|
|
]
|