Merge pull request #1757 from murali-reddy/vr_dhcp_entries CLOUDSTACK-9583: VR: In CsDhcp.py preseed both hostaname and localhost to resolve to 127.0.0.1
The VR executes a ip route flush command as part of configurations. This command performs a DNS lookup on the VR hostname. Since the VR does not have a DNS entry, the ip command would wait 5 seconds before timing out and executing the flush operation. This fix adds the VR hostname to /etc/hosts mapped to 127.0.0.1 to answer the DNS lookup reducing the execution time. * pr/1757: CLOUDSTACK-9583: VR: In CsDhcp.py preseed both hostaname and localhost to resolve to 127.0.0.1 Signed-off-by: Rohit Yadav <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3b59a9b2 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3b59a9b2 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3b59a9b2 Branch: refs/heads/4.9 Commit: 3b59a9b2e497b6e41cca40cc3147a4cb0a3a52d8 Parents: 7f051bd 4c4696e Author: Rohit Yadav <[email protected]> Authored: Wed Nov 23 13:33:56 2016 +0530 Committer: Rohit Yadav <[email protected]> Committed: Wed Nov 23 13:33:56 2016 +0530 ---------------------------------------------------------------------- systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ----------------------------------------------------------------------
