2010-04-03 00:21:37 +02:00
|
|
|
Index: virt-manager-0.8.4/src/virtManager/console.py
|
2009-08-01 11:46:10 +02:00
|
|
|
===================================================================
|
2010-04-03 00:21:37 +02:00
|
|
|
--- 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}
|
|
|
|
]
|