start_vm: log VM start command
This commit is contained in:
@@ -127,6 +127,7 @@ def start_vm(
|
|||||||
env = os.environ.copy()
|
env = os.environ.copy()
|
||||||
env.update(extra_env)
|
env.update(extra_env)
|
||||||
cmd = nix_shell(packages, args)
|
cmd = nix_shell(packages, args)
|
||||||
|
log.debug(f"Starting VM with command: {cmd}")
|
||||||
with subprocess.Popen(
|
with subprocess.Popen(
|
||||||
cmd, env=env, stdout=stdout, stderr=stderr, stdin=stdin
|
cmd, env=env, stdout=stdout, stderr=stderr, stdin=stdin
|
||||||
) as process:
|
) as process:
|
||||||
|
|||||||
Reference in New Issue
Block a user