Updated Branches: refs/heads/4.0 b17963e63 -> 43631f9f4
CLOUDSTACK-1652: /etc/hosts error in virtual router when deploy instance with the name same to previous instances Signed-off-by: Chip Childers <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/43631f9f Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/43631f9f Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/43631f9f Branch: refs/heads/4.0 Commit: 43631f9f444d1d624788cf26f26f6aeea5b14bce Parents: b17963e Author: Wei Zhou <[email protected]> Authored: Tue Mar 12 16:37:23 2013 -0400 Committer: Chip Childers <[email protected]> Committed: Tue Mar 12 16:37:23 2013 -0400 ---------------------------------------------------------------------- patches/systemvm/debian/config/root/edithosts.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/43631f9f/patches/systemvm/debian/config/root/edithosts.sh ---------------------------------------------------------------------- diff --git a/patches/systemvm/debian/config/root/edithosts.sh b/patches/systemvm/debian/config/root/edithosts.sh index 3c6102d..b71089d 100755 --- a/patches/systemvm/debian/config/root/edithosts.sh +++ b/patches/systemvm/debian/config/root/edithosts.sh @@ -89,7 +89,7 @@ echo "0 $mac $ip $host *" >> $DHCP_LEASES #edit hosts file as well sed -i /"$ip "/d $HOSTS sed -i /"$host "/d $HOSTS -echo "$ip $host" >> $HOSTS +echo "$ip $host " >> $HOSTS if [ "$dflt" != "" ] then
