Setting environment variables in a StackScript?
I am trying to set an environment variable in a stackscript, but after the server is provisioned with that stack script and I run this command, there is no value.
Command to Test Environment Variable
Here is my very simple stackscript I am testing with. Please help!!!
#!/bin/bash export TESTENVIRONMENT=TEST
tommydavidson Linode Staff
I came across this post after posting a similar question on behalf of a user here. The advice in that post should get you up and running.