How to change the value corresponding to ec2_public_ipv4 and ec2_public_hostname in the v4.17.0X versions of Private Cloud?
Which file and which value should be changed?
The steps to change the property on v1.17.0X is:
curl -u <sysAdminEmail:pw> -X PUT http://ms_IP:8080/v1/servers/<uuid>; -d <property>=<value>
where the property is one of:
ExternalIP, InternalIP, ExternalHostName, InternalHostName corresponding to each of:
ec2_public_ipv4, ec2_local_ipv4, ec2_public_hostname, ec2_local_hostname on the file ec2.properties.
Then you can check that with:
curl -u <sysAdminEmail:pw> http://ms_IP:8080/v1/servers
which will show the corresponding value for each server.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |