-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passing ENV variable to goss plugin #82
Comments
Are you talking about creating an environment variable for the base part of url in the getDownloadUrl method here:
|
no i'm talking about specifying env variable used by the wget/curl command who download the goss binary to change their behaviour, in this specific case use a proxy |
I think the plugin does provide that ability using packer-plugin-goss/provisioner/goss/packer-provisioner-goss.go Lines 472 to 490 in ac68330
In case I find some time I could try to provide you an example .. |
Hello, I have the same question and problem:
Do you know, if there is a way to override/set http_proxy,https_proxy,no_proxy variable in envVar function does not work at this step. Thank you for you help |
is there a way to set env variable in the context where the goss binary is downloaded ?
I want to set proxy env variable to let curl || wget to connect on internet
The text was updated successfully, but these errors were encountered: