}
params = new HashMap<>();
params.put(AzureStackUtil.NAME, azureStackUtil.getOsImageName(credential));
params.put(OS, "Linux");
params.put(MEDIALINK, targetImageUri);
azureClient.addOsImage(params);
}
LOGGER.info("Publishing {} event [StackId: '{}']", ReactorConfig.PROVISION_SETUP_COMPLETE_EVENT, stack.getId());
reactor.notify(ReactorConfig.PROVISION_SETUP_COMPLETE_EVENT,
Event.wrap(new ProvisionSetupComplete(getCloudPlatform(), stack.getId())
.withSetupProperty(CREDENTIAL, stack.getCredential())