diff options
| author | Tushar Patil <tushar.vitthal.patil@gmail.com> | 2011-08-11 18:22:35 -0700 |
|---|---|---|
| committer | Tushar Patil <tushar.vitthal.patil@gmail.com> | 2011-08-11 18:22:35 -0700 |
| commit | 7507ba23004c989c75962c47efbd2ce5e5178a90 (patch) | |
| tree | 28da9671d403d70a7f59e1ca21c079b9b8d17d10 /nova/api | |
| parent | ca7bf95e610bdc47f01b8fb7b459269bb8e5df66 (diff) | |
added userdata entry in the api paste ini
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/userdatarequesthandler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/userdatarequesthandler.py b/nova/api/openstack/userdatarequesthandler.py index 5daa37e95..f0205419b 100644 --- a/nova/api/openstack/userdatarequesthandler.py +++ b/nova/api/openstack/userdatarequesthandler.py @@ -96,7 +96,7 @@ class UserdataRequestHandler(wsgi.Application): @webob.dec.wsgify(RequestClass=wsgi.Request) def __call__(self, req): - remote_address = "10.0.1.6"#req.remote_addr + remote_address = req.remote_addr if FLAGS.use_forwarded_for: remote_address = req.headers.get('X-Forwarded-For', remote_address) |
