From 1df191c3c8ce56c04794fc2f5c39f15a35537d9b Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Tue, 7 Oct 2025 13:26:47 +0200 Subject: [PATCH] API: document VM's "startup_script" (#358) --- api/openapi.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/api/openapi.yaml b/api/openapi.yaml index b2f6c9d..7863ead 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -506,6 +506,23 @@ components: type: string description: SSH password to use when connecting to a VM default: admin + startup_script: + type: object + description: Startup script to run after the VM boots and becomes accessible via SSH + properties: + script_content: + type: string + env: + type: object + additionalProperties: + type: string + example: + script_content: | + #!/bin/zsh + + echo $GREETING + env: + GREETING: "Hello, World!" restart_policy: type: string description: |