Environment variable in provisioning script

Zaid Abdulla zaid at genieacs.com
Thu May 18 13:06:30 EDT 2017


On Wed, 2017-05-17 at 19:36 -0800, Dan Morphis wrote:
> When we switched over to v1.1 last week, the extension script
> returned two ips, the public and private. I quickly caught the issue
> and hard coded the script to use the private ip.

Why not always return a single IP? You can read environment variables
from your extension script if that's how you want to distinguish
between development and production environments.

-- 
Zaid Abdulla <zaid at genieacs.com>


More information about the Users mailing list