-
Notifications
You must be signed in to change notification settings - Fork 316
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
--environment
cannot pass environment variable value with a space
#2962
Comments
It's definitely not working as one would expect, but
shows the two different versions, with the former working and the latter not. The parser for the environment variables works as expected, but the problem is getting the right thing through from the shell. The |
As far as I can it's due to the delimiter being a space in
So this seems to implicate that you can pass multiple env vars via one
|
mkosi commit the issue has been seen with
main
Used host distribution
Arch Linux
Used target distribution
Arch Linux
Linux kernel version used
No response
CPU architectures issue was seen on
x86_64
Unexpected behaviour you saw
Trying to pass an environment variable with spaces causes the splits it up making it impossible to pass something like "-O ^orphan_file".
This is not an issue with
--env-file
FYI, Haven't testedEnviroment
as a Config option.Debug print of the passed env variable to systemd-repart
Used mkosi config
No response
mkosi output
No response
The text was updated successfully, but these errors were encountered: