Pass autoscale_agent when attaching disk
@@ -253,6 +253,7 @@ class InfrastructureManagerClient
parameters = get_parameters_from_credentials(credentials)
parameters['zone'] = credentials['zone'] if credentials['zone']
parameters['region'] = credentials['region']
+ parameters['autoscale_agent'] = true
Djinn.log_debug("Calling attach_disk with parameters " +
"#{parameters.inspect}, with disk name #{disk_name} and instance id " +
"#{instance_id}")
