AMI Build Failures - New packer version

15 views
Skip to first unread message

Prem Kumar

unread,
Jun 15, 2021, 9:33:48 PM6/15/21
to Jenkins Users
Hi All,

My AMI build is failing for the below code.

  "provisioners": [
    { "type": "file",  "source": "scripts/shared/install_cwm.sh", "destination": "/tmp/install_cwm.sh"  },
    { "type": "shell", "inline": ["chmod +x /tmp/install_cwm.sh", "sudo -i /tmp/install_cwm.sh"]},
    {

The error is attached to this conversion.

Regards,
Prem
Failure.PNG

Dirk Heinrichs

unread,
Jun 16, 2021, 1:31:44 AM6/16/21
to jenkins...@googlegroups.com
Am Dienstag, den 15.06.2021, 18:33 -0700 schrieb Prem Kumar:

The error is attached to this conversion.

Nobody opens attachments from unknown senders. Please simply copy/paste it.

Bye...

Dirk
-- 
Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.
signature.asc

Prem Kumar

unread,
Jun 17, 2021, 7:52:31 PM6/17/21
to Jenkins Users
Hi All,

This issue is resolved by adding "sh" command in front of the (*.sh) script.

Thank you
Reply all
Reply to author
Forward
0 new messages