ChristoWolf / ChristoWolf/packer-plugin-set-env

Implement Packer plugin which permanently sets a desired collection of environment variables

Open
#1 0 comments 0 reactions 1 assignee Claimed by @ChristoWolf View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.