summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch-nspawn.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index 8009534..e422373 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -133,6 +133,7 @@ copy_hostconf
exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \
-D "$working_dir" \
+ -E "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin" \
--register=no --keep-unit \
"${mount_args[@]}" \
"$@"