nixos/test-driver: support state_dir for container tests
Assisted-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1684,6 +1684,7 @@ class NspawnMachine(BaseMachine):
|
||||
|
||||
self.process = subprocess.Popen(
|
||||
[self.start_command],
|
||||
cwd=self.state_dir,
|
||||
env={
|
||||
"RUN_NSPAWN_ROOT_DIR": str(self.state_dir),
|
||||
"RUN_NSPAWN_SHARED_DIR": str(self.shared_dir),
|
||||
|
||||
Reference in New Issue
Block a user