From: Daan De Meyer Date: Sat, 13 Jul 2024 06:56:34 +0000 (+0200) Subject: Add --expand-environment+no to systemd-run command line X-Git-Tag: v24~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8faafe16c9638f2eb96729cebe477baba386ca75;p=thirdparty%2Fmkosi.git Add --expand-environment+no to systemd-run command line Otherwise systemd will try to expand environment variables in our command instead of the shell. --- diff --git a/mkosi/qemu.py b/mkosi/qemu.py index 9dc14941e..1c146fd33 100644 --- a/mkosi/qemu.py +++ b/mkosi/qemu.py @@ -744,6 +744,7 @@ def scope_cmd( "--description", description, "--scope", "--collect", + "--expand-environment=no", *(["--uid", str(user)] if user is not None else []), *(["--gid", str(group)] if group is not None else []), *([f"--property={p}" for p in properties]),