From 8e5c2a67c11d0aecd3ca6198c70c1113aea97e45 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Fri, 27 Sep 2024 13:22:04 +0200 Subject: [PATCH] Flock CLI: starting containers --- flock/flock-cli | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/flock/flock-cli b/flock/flock-cli index cade3856..ed60d81e 100755 --- a/flock/flock-cli +++ b/flock/flock-cli @@ -92,7 +92,13 @@ def telnet(name: str): @handler def container_start(hypervisor: str, name: str): - print(f"start a machine {name} in {hypervisor}") + for k,v in msg(hypervisor, { 3: { + 0: name, + 1: 1, + 2: bytes(DEFAULT_RUN_PATH / hypervisor / name), + 3: b"/", + }}).items(): + print(k,v) try: binname = sys.argv.pop(0)