public class SudoTtyFixingCustomizer extends BasicJcloudsLocationCustomizer
JcloudsLocationCustomizer
for easy(-ish) consumption
in YAML blueprints:
name: My App
brooklyn.config:
provisioning.properties:
customizerType: SudoTtyFixingCustomizer
This class should be seen as a temporary workaround and might disappear completely if/when Brooklyn takes care of this automatically.BasicConfigurableObject.BasicConfigurationSupport
Configurable.ConfigurationSupport
Constructor and Description |
---|
SudoTtyFixingCustomizer() |
Modifier and Type | Method and Description |
---|---|
void |
customize(JcloudsLocation location,
org.jclouds.compute.ComputeService computeService,
JcloudsMachineLocation machine)
Override to configure the given machine once it has been created and started by Jclouds.
|
apply, customize, customize, customize, customize, postRelease, postReleaseOnObtainError, preRelease, preReleaseOnObtainError
config, getBrooklynManagementContext, getConfig, getId, setManagementContext
public void customize(JcloudsLocation location, org.jclouds.compute.ComputeService computeService, JcloudsMachineLocation machine)
JcloudsLocationCustomizer
If CloudLocationConfig.WAIT_FOR_SSHABLE
is true the machine is guaranteed to be
SSHable when this method is called.
customize
in interface JcloudsLocationCustomizer
customize
in class BasicJcloudsLocationCustomizer