VPS_createPostInstallScriptV1
Add a post-install script to run after virtual machine setup. Saves script content to /post_install
, executes it, and logs output to /post_install.log
. Maximum script size: 48KB.
Instructions
This endpoint allows you to add a new post-install script to your account, which can then be used run after the installation of a virtual machine instance.
The script contents will be saved to the file /post_install
with executable attribute set and will be executed once virtual machine is installed.
The output of the script will be redirected to /post_install.log
. Maximum script size is 48KB.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Content of the script | |
name | Yes | Name of the script |