nixos/lib/test-driver: provide legacy path for create_machine({"startCommand": "..."})

This commit is contained in:
K900 2024-02-27 23:14:15 +03:00
parent 423098c284
commit bdacdc46e4
2 changed files with 38 additions and 2 deletions

View file

@ -29,7 +29,7 @@ class PollingConditionProtocol(Protocol):
class CreateMachineProtocol(Protocol):
def __call__(
self,
start_command: str,
start_command: str | dict,
*,
name: Optional[str] = None,
keep_vm_state: bool = False,