mirror of
https://github.com/trycua/lume.git
synced 2026-01-15 00:40:09 -06:00
20 lines
496 B
Python
20 lines
496 B
Python
from typing import Optional
|
|
|
|
from .generic import GenericComputerInterface
|
|
|
|
|
|
class LinuxComputerInterface(GenericComputerInterface):
|
|
"""Interface for Linux."""
|
|
|
|
def __init__(
|
|
self,
|
|
ip_address: str,
|
|
username: str = "lume",
|
|
password: str = "lume",
|
|
api_key: Optional[str] = None,
|
|
vm_name: Optional[str] = None,
|
|
):
|
|
super().__init__(
|
|
ip_address, username, password, api_key, vm_name, "computer.interface.linux"
|
|
)
|