And what's the output when you run that with Packer?

On Thu, Jul 16, 2020, 22:47 Nandeep Mannava <[email protected]>
wrote:

> I am trying to build a centos-7 AMI with a packer. I am installing and
> enabling software collections packages in the shell script
>
>
>> #!/bin/bash
>>
>> set -e
>>
>>
>> sudo yum install -y centos-release-scl
>>
>> sudo yum groupinstall "Development Tools" -y && sudo yum install -y
>> devtoolset-8
>>
>> sudo scl enable devtoolset-8 bash
>>
>> echo "Checking enabled SCL's"
>> echo $X_SCLS
>> echo "changing to Redis Directory"
>> cd $LOSANT_DIR/redis-6.0.5
>> echo "verifying the SCL before the code compillation"
>> echo $X_SCLS
>>
>
> echo $X_SCLS  must show a list of enabled software collections. When I am
>> running from packer I am getting an empty list.
>
>
> Can someone please help me.
>
> Thanks,
> Nandeep.
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/hashicorp/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/dbaca783-2a55-4a23-a7f2-e82384898c6do%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/dbaca783-2a55-4a23-a7f2-e82384898c6do%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt9FyWDux2h8oHZZWN1arNkj%3DEeugYR-P7o8g7RbFXUSEg%40mail.gmail.com.

Reply via email to