fix: pass --timezone=off when executing commands in rootfs

This commit is contained in:
Rudra Saraswat 2026-04-02 14:42:08 +01:00
parent 8e7e5cb576
commit 694eddb3e1

View file

@ -1,6 +1,5 @@
import os
import subprocess
from pathlib import Path
class RootFS:
@ -42,6 +41,7 @@ class RootFS:
"systemd-nspawn",
"--quiet",
"--pipe",
"--timezone=off",
*[f"--setenv={name}={val}" for name, val in self.env.items()],
"-D",
self.rootfs_path,