diff options
author | Anthony Young <sleepsonthefloor@gmail.com> | 2011-01-05 14:57:31 -0800 |
---|---|---|
committer | Anthony Young <sleepsonthefloor@gmail.com> | 2011-01-05 14:57:31 -0800 |
commit | 9b99e385967c4ba21d94d82aa62115fc11634118 (patch) | |
tree | 623222dbeb20b03f31507a74df162303eb6a674e | |
parent | 7c01430020ceabec765f388b70685808064cda3f (diff) | |
download | nova-9b99e385967c4ba21d94d82aa62115fc11634118.tar.gz nova-9b99e385967c4ba21d94d82aa62115fc11634118.tar.xz nova-9b99e385967c4ba21d94d82aa62115fc11634118.zip |
socat will need to be added to our nova sudoers
-rw-r--r-- | nova/virt/libvirt_conn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt_conn.py b/nova/virt/libvirt_conn.py index a36af16e2..d83c57741 100644 --- a/nova/virt/libvirt_conn.py +++ b/nova/virt/libvirt_conn.py @@ -454,7 +454,7 @@ class LibvirtConnection(object): token = str(uuid.uuid4()) host = instance['host'] - ajaxterm_cmd = 'socat - %s' % get_pty_for_instance(instance['name']) + ajaxterm_cmd = 'sudo socat - %s' % get_pty_for_instance(instance['name']) cmd = '%s/tools/ajaxterm/ajaxterm.py --command "%s" -t %s -p %s' \ % (utils.novadir(), ajaxterm_cmd, token, port) |