diff --git a/mash/services/jobcreator/ec2_job.py b/mash/services/jobcreator/ec2_job.py index 9670e7b8..6b688e8d 100644 --- a/mash/services/jobcreator/ec2_job.py +++ b/mash/services/jobcreator/ec2_job.py @@ -132,7 +132,9 @@ def get_publish_message(self): if self.ssh_user: publish_message['publish_job']['ssh_user'] = self.ssh_user - if not self.old_cloud_image_name: + if ( + not self.old_cloud_image_name or self.last_service == 'publish' + ): publish_message['publish_job']['submit_change_request'] = True else: publish_message = {