You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Imesh Gunaratne (JIRA)" <ji...@apache.org> on 2013/10/07 11:59:45 UTC
[jira] [Commented] (STRATOS-93) Amazon EC2 Installer Script demo.sh
does not use domain name passed through user data
[ https://issues.apache.org/jira/browse/STRATOS-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13788033#comment-13788033 ]
Imesh Gunaratne commented on STRATOS-93:
----------------------------------------
Fixed logic in tools/stratos-installer/demo.sh:
cp -f /etc/hosts hosts.tmp
echo "$ip $DOMAIN # stratos domain" >> hosts.tmp
echo "$ip mb.$DOMAIN # message broker hostname" >> hosts.tmp
echo "$ip cc.$DOMAIN # cloud controller hostname" >> hosts.tmp
echo "$ip sc.$DOMAIN # stratos controller hostname" >> hosts.tmp
echo "$ip elb.$DOMAIN # elastic load balancer hostname" >> hosts.tmp
echo "$ip agent.$DOMAIN # agent hostname" >> hosts.tmp
mv -f ./hosts.tmp /etc/hosts
> Amazon EC2 Installer Script demo.sh does not use domain name passed through user data
> -------------------------------------------------------------------------------------
>
> Key: STRATOS-93
> URL: https://issues.apache.org/jira/browse/STRATOS-93
> Project: Stratos
> Issue Type: Bug
> Reporter: Imesh Gunaratne
> Assignee: Imesh Gunaratne
> Priority: Minor
>
> It seems like tools/stratos-installer/demo.sh script has not used the domain name parameter value passed through EC2 user data when updating the /etc/hosts file. As a result domain name is always set to stratos.apache.org.
> We might need to update demo.sh and set it to $domain parameter value.
--
This message was sent by Atlassian JIRA
(v6.1#6144)