ChristoWolf / ChristoWolf/packer-plugin-set-env
Implement Packer plugin which permanently sets a desired collection of environment variables
Open
documentation
enhancement
- Dominant language
- No language data
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Using [`setx`](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/setx) on Windows and [`/etc/bash.bashrc`](https://askubuntu.com/a/73065) on Linux.
~~When the key is `PATH`, the value(s) should be appended.~~ Will be done during #2.
[`setenv`](https://man7.org/linux/man-pages/man3/setenv.3.html) on Linux is not sufficient, as it only propagates the variable to sub-shells.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.