> The OnlyLocationOrFirstZone already exists in jclouds and will only take into > account zone locations.
AH. Because of this, I could remove the `ProfitBricksTemplateBuilder` altogether. :+1: One last thing though: the [BaseTemplateBuilderLiveTest.testTemplateBuilderWithImageIdSpecified](https://github.com/jclouds/jclouds/blob/master/compute/src/test/java/org/jclouds/compute/internal/BaseTemplateBuilderLiveTest.java#L72) fails, with the result of: ``` Failed tests: ProfitBricksTemplateBuilderLiveTest>BaseTemplateBuilderLiveTest.testTemplateBuilderWithImageIdSpecified:159 expected [{image={id=a380aec9-080b-11e5-b78a-52540066fee9, providerId=a380aec9-080b-11e5-b78a-52540066fee9, name=Ubuntu-12.04-LTS-server-2015-06-01, location={scope=REGION, id=us/lasdev, description=USA Developer cluster, parent=profitbricks}, os={family=ubuntu, version=12.04, description=ubuntu, is64Bit=true}, status=AVAILABLE, loginUser=root}, hardware={id=cpu=1,ram=1024,disk=10.000000, providerId=cpu=1,ram=1024,disk=10.000000, name=cpu=1,ram=1024,disk=10.000000, processors=[{cores=1.0, speed=1.0}], ram=1024, volumes=[{type=LOCAL, size=10.0, bootDevice=true, durable=true}], hypervisor=kvm, supportsImage=ALWAYS_TRUE}, location={scope=ZONE, id=abc433ce-6d21-47c9-a7eb-5342fde68dbf, description=DCtest001, parent=us/lasdev, metadata={version=2, state=AVAILABLE}}, options={}}] but found [{image={id=a380aec9-080b-11e5-b78a-52540066fee9, providerId=a380aec9-080b-11e5-b78a-5 2540066f ee9, name=Ubuntu-12.04-LTS-server-2015-06-01, location={scope=REGION, id=us/lasdev, description=USA Developer cluster, parent=profitbricks}, os={family=ubuntu, version=12.04, description=ubuntu, is64Bit=true}, status=AVAILABLE, loginUser=root}, hardware={id=cpu=1,ram=1024,disk=10.000000, providerId=cpu=1,ram=1024,disk=10.000000, name=cpu=1,ram=1024,disk=10.000000, processors=[{cores=1.0, speed=1.0}], ram=1024, volumes=[{type=LOCAL, size=10.0, bootDevice=true, durable=true}], hypervisor=kvm, supportsImage=ALWAYS_TRUE}, location={scope=REGION, id=us/lasdev, description=USA Developer cluster, parent=profitbricks}, options={}}] ``` The difference was that, the default template used a more specific location (ZONE), while the template with assigned image used the image location instead (REGION). What's the best way to approach this? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/145#issuecomment-115174692
