diff options
| author | justin ljj <iamljj@gmail.com> | 2012-07-24 17:47:11 +0800 |
|---|---|---|
| committer | justin ljj <iamljj@gmail.com> | 2012-07-27 10:24:26 +0800 |
| commit | 34cec1c5c82d56c96f0d624fd691f7e259cbc5d8 (patch) | |
| tree | b845152295818e5ebf546ff0523cd5e4bc740e45 /tools/enable-pre-commit-hook.sh | |
| parent | 0626def72e8c2271ef72910c1a2f64015ac9c38b (diff) | |
| download | nova-34cec1c5c82d56c96f0d624fd691f7e259cbc5d8.tar.gz nova-34cec1c5c82d56c96f0d624fd691f7e259cbc5d8.tar.xz nova-34cec1c5c82d56c96f0d624fd691f7e259cbc5d8.zip | |
use REDIRECT to forward local metadata request
VMs can not get metadata when metadata_host is set to 127.0.0.1 because
packet's destination address will be changed into 127.0.0.1 by iptables.
However, linux kernel will reject packets to 127.0.0.0/8 if packets do not
come from that range. We can use REDIRECT to resolve this problem because
REDIRECT will rewrite the destination address to our own host.
Fixes bug 1015853.
Change-Id: I162fc57510ef9c8e84130b2d11eb53e10dcc5cb0
Diffstat (limited to 'tools/enable-pre-commit-hook.sh')
0 files changed, 0 insertions, 0 deletions
