mirror of https://github.com/apache/jclouds.git
default to allocate elastic ips on openstack-nova-ec
This commit is contained in:
parent
a1913431c4
commit
bae742befe
|
@ -24,6 +24,7 @@ import static org.jclouds.Constants.PROPERTY_RELAX_HOSTNAME;
|
|||
import static org.jclouds.Constants.PROPERTY_TRUST_ALL_CERTS;
|
||||
import static org.jclouds.compute.config.ComputeServiceProperties.RESOURCENAME_DELIMITER;
|
||||
import static org.jclouds.ec2.reference.EC2Constants.PROPERTY_EC2_AMI_OWNERS;
|
||||
import static org.jclouds.ec2.reference.EC2Constants.PROPERTY_EC2_AUTO_ALLOCATE_ELASTIC_IPS;
|
||||
import static org.jclouds.location.reference.LocationConstants.PROPERTY_REGIONS;
|
||||
|
||||
import java.util.Properties;
|
||||
|
@ -48,6 +49,7 @@ public class NovaEC2PropertiesBuilder extends EC2PropertiesBuilder {
|
|||
// often, we are dealing with IP addresses, not hostnames
|
||||
properties.setProperty(PROPERTY_RELAX_HOSTNAME, "true");
|
||||
properties.setProperty(PROPERTY_TRUST_ALL_CERTS, "true");
|
||||
properties.setProperty(PROPERTY_EC2_AUTO_ALLOCATE_ELASTIC_IPS, "true");
|
||||
return properties;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue