mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Flock CLI: starting containers
This commit is contained in:
parent
e4981ce012
commit
8e5c2a67c1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user