aboutsummaryrefslogtreecommitdiff
path: root/tests/nixos/containers/systemd-nspawn.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nixos/containers/systemd-nspawn.nix')
-rw-r--r--tests/nixos/containers/systemd-nspawn.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nixos/containers/systemd-nspawn.nix b/tests/nixos/containers/systemd-nspawn.nix
index 424436b3f..f54f32f2a 100644
--- a/tests/nixos/containers/systemd-nspawn.nix
+++ b/tests/nixos/containers/systemd-nspawn.nix
@@ -56,12 +56,12 @@ runCommand "test"
# Make /run a tmpfs to shut up a systemd warning.
mkdir /run
mount -t tmpfs none /run
- chmod 0700 /run
mount -t cgroup2 none /sys/fs/cgroup
mkdir -p $out
+ chmod +w /etc
touch /etc/os-release
echo a5ea3f98dedc0278b6f3cc8c37eeaeac > /etc/machine-id