nixos/test-driver: do not set -x commands in nspawn containers

This commit is contained in:
Kierán Meinhardt
2026-03-03 16:32:00 +01:00
parent 0e1d359e46
commit 2e959aba47
@@ -1485,7 +1485,7 @@ class NspawnMachine(BaseMachine):
assert nsenter is not None
# Pull in /etc/profile, and some shell sanity.
command = f"set -eo pipefail; source /etc/profile; set -xu; {command}"
command = f"set -eo pipefail; source /etc/profile; set -u; {command}"
cp = subprocess.run(
[
nsenter,