Merge pull request #1045 from resmo/CLOUDSTACK-9042-4.5

[4.5] CLOUDSTACK-9042: VR: DHCP: fix missing DHCP host entiesin 
/etc/dhcpentries.txt we had:

02:00:1e:07:01:53,set:10_102_92_5,10.102.92.5,songlog-1,infinite
02:00:0b:a2:00:3d,set:10_102_92_234,10.102.92.234,log-1,infinite

This sed matched unexpectetly "songlog-1" as well when "log-1" was processed, 
resulting
missing dhcp entry for songlog-1.

Also fixed other potenials problems relating to sed matching.

* pr/1045:
  CLOUDSTACK-9042: VR: DHCP: fix missing DHCP host enties

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/fd44bc5f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/fd44bc5f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/fd44bc5f

Branch: refs/heads/4.5
Commit: fd44bc5f3d9c03a4d383d237dc91a65db0bbea87
Parents: e41850c e7291fd
Author: Rohit Yadav <[email protected]>
Authored: Mon Nov 23 11:47:33 2015 +0530
Committer: Rohit Yadav <[email protected]>
Committed: Mon Nov 23 11:47:33 2015 +0530

----------------------------------------------------------------------
 .../debian/config/opt/cloud/bin/edithosts.sh    | 22 ++++++++++----------
 1 file changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


Reply via email to