diff options
| author | Chris Behrens <cbehrens@codestud.com> | 2011-05-24 22:13:59 +0000 |
|---|---|---|
| committer | Chris Behrens <cbehrens@codestud.com> | 2011-05-24 22:13:59 +0000 |
| commit | 0acbf6d77f02ca0fa3a11e29a55bbb617c33a816 (patch) | |
| tree | b61680992aff85e3c33fd08bd29f38825fffe0b3 /nova | |
| parent | 36a3b9dc172a109e1f17dbc531a574ebf9e37453 (diff) | |
| download | nova-0acbf6d77f02ca0fa3a11e29a55bbb617c33a816.tar.gz nova-0acbf6d77f02ca0fa3a11e29a55bbb617c33a816.tar.xz nova-0acbf6d77f02ca0fa3a11e29a55bbb617c33a816.zip | |
DHSimple's decrypt needs to append \n when writing to stdin
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/virt/xenapi/vmops.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py index 8c80ce7b1..45b04351d 100644 --- a/nova/virt/xenapi/vmops.py +++ b/nova/virt/xenapi/vmops.py @@ -1171,7 +1171,7 @@ class SimpleDH(object): shared = self._shared cmd = base_cmd % locals() proc = _runproc(cmd) - proc.stdin.write(text) + proc.stdin.write(text + '\n') proc.stdin.close() proc.wait() err = proc.stderr.read() |
