fix: pass --timezone=off when executing commands in rootfs
This commit is contained in:
parent
8e7e5cb576
commit
694eddb3e1
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
|
|
||||||
class RootFS:
|
class RootFS:
|
||||||
|
|
@ -42,6 +41,7 @@ class RootFS:
|
||||||
"systemd-nspawn",
|
"systemd-nspawn",
|
||||||
"--quiet",
|
"--quiet",
|
||||||
"--pipe",
|
"--pipe",
|
||||||
|
"--timezone=off",
|
||||||
*[f"--setenv={name}={val}" for name, val in self.env.items()],
|
*[f"--setenv={name}={val}" for name, val in self.env.items()],
|
||||||
"-D",
|
"-D",
|
||||||
self.rootfs_path,
|
self.rootfs_path,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue