stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Imesh Gunaratne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (STRATOS-93) Amazon EC2 Installer Script demo.sh does not use domain name passed through user data
Date Mon, 07 Oct 2013 09:59:45 GMT

    [ 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)

Mime
View raw message