1
0
forked from clan/clan-core

vms/run: remove superfluous command

This commit is contained in:
a-kenji 2023-12-14 15:45:45 +01:00
parent d678c3ac14
commit 8e84f7997a

View File

@ -60,7 +60,6 @@ def qemu_command(
xchg_dir: Path,
secrets_dir: Path,
disk_img: Path,
wayland: bool,
) -> list[str]:
kernel_cmdline = [
(Path(nixos_config["toplevel"]) / "kernel-params").read_text(),
@ -68,7 +67,7 @@ def qemu_command(
f'regInfo={nixos_config["regInfo"]}/registration',
"console=ttyS0,115200n8",
]
if not wayland:
if not vm.wayland:
kernel_cmdline.append("console=tty0")
# fmt: off
command = [
@ -247,7 +246,6 @@ def run_vm(
xchg_dir=xchg_dir,
secrets_dir=secrets_dir,
disk_img=disk_img,
wayland=vm.wayland,
)
if vm.wayland: