mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
nixos/lib/test-driver: provide legacy path for create_machine({"startCommand": "..."})
This commit is contained in:
parent
423098c284
commit
bdacdc46e4
2 changed files with 38 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue