drop netcat dependency
Bug #1855890 reported by
James Page
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netcat (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
nova depends on netcat, which is no longer in Ubuntu main, but there are no references in the code to this tool.
To post a comment you must log in.
diff --git a/nova/ virt/libvirt/ connection. py b/nova/ virt/libvirt/ connection. py .29ddfa184b 100644 virt/libvirt/ connection. py virt/libvirt/ connection. py on(driver. ComputeDriver) :
index 064c2688fa.
--- a/nova/
+++ b/nova/
@@ -704,7 +704,7 @@ class LibvirtConnecti
token = str(uuid.uuid4())
host = instance['host']
- ajaxterm_cmd = 'sudo socat - %s' \
% get_pty_ for_instance( instance[ 'name'] )
+ ajaxterm_cmd = 'sudo netcat - %s' \
cmd = ['%s/tools/ ajaxterm/ ajaxterm. py' % utils.novadir(),