----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/9882/#review17755 -----------------------------------------------------------
Ship it! Applied to the 4.0 branch: [4.0 43631f9] CLOUDSTACK-1652: /etc/hosts error in virtual router when deploy instance with the name same to previous instances Author: Wei Zhou <w.z...@leaseweb.com> 1 files changed, 1 insertions(+), 1 deletions(-) - Chip Childers On March 12, 2013, 7:33 p.m., Wei Zhou wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/9882/ > ----------------------------------------------------------- > > (Updated March 12, 2013, 7:33 p.m.) > > > Review request for cloudstack. > > > Description > ------- > > When create the instance with the name same to previous instances, the > /etc/hosts in virtual router has an error. > > For example: > 192.168.0.1 r-148-VM > 192.168.0.1 r-148-VM > 192.168.0.99 test-w006-001 > 192.168.0.138 test-w006-002 > 192.168.0.37 test-w006-003 > 192.168.0.33 test-w006-004 > 192.168.0.1 r-148-VM > 192.168.0.235 test-w006-001 > 192.168.0.17 test-w006-002 > > It should be: > 192.168.0.37 test-w006-003 > 192.168.0.33 test-w006-004 > 192.168.0.1 r-148-VM > 192.168.0.235 test-w006-001 > 192.168.0.17 test-w006-002 > > > This addresses bug CLOUDSTACK-1652. > > > Diffs > ----- > > patches/systemvm/debian/config/root/edithosts.sh 3c6102d > > Diff: https://reviews.apache.org/r/9882/diff/ > > > Testing > ------- > > Testing manually ok. > > > Thanks, > > Wei Zhou > >