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.

Reply via email to