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 |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from hostinger-api-mcp
- billing_cancelSubscriptionV1
- billing_createNewServiceOrderV1
- billing_deletePaymentMethodV1
- billing_getCatalogItemListV1
- billing_getPaymentMethodListV1
- billing_getSubscriptionListV1
- billing_setDefaultPaymentMethodV1
- DNS_deleteZoneRecordsV1
- DNS_getRecordsV1
- DNS_getSnapshotListV1
- DNS_getSnapshotV1
- DNS_resetZoneRecordsV1
- DNS_restoreSnapshotV1
- DNS_updateZoneRecordsV1
- DNS_validateZoneRecordsV1
- domains_checkDomainAvailabilityV1
- domains_getDomainListV1
- VPS_activateFirewallV1
- VPS_attachPublicKeyV1
- VPS_createFirewallRuleV1
- VPS_createNewFirewallV1
- VPS_createNewPublicKeyV1
- VPS_createPostInstallScriptV1
- VPS_createPTRRecordV1
- VPS_createSnapshotV1
- VPS_deactivateFirewallV1
- VPS_deleteAPostInstallScriptV1
- VPS_deleteAPublicKeyV1
- VPS_deleteBackupV1
- VPS_deleteFirewallRuleV1
- VPS_deleteFirewallV1
- VPS_deletePTRRecordV1
- VPS_deleteSnapshotV1
- VPS_getActionListV1
- VPS_getActionV1
- VPS_getAttachedPublicKeysV1
- VPS_getBackupListV1
- VPS_getDataCentersListV1
- VPS_getFirewallListV1
- VPS_getFirewallV1
- VPS_getMetricsV1
- VPS_getPostInstallScriptListV1
- VPS_getPostInstallScriptV1
- VPS_getPublicKeyListV1
- VPS_getScanMetricsV1
- VPS_getSnapshotV1
- VPS_getTemplateListV1
- VPS_getTemplateV1
- VPS_getVirtualMachineListV1
- VPS_getVirtualMachineV1
- VPS_installMonarxV1
- VPS_recreateVirtualMachineV1
- VPS_resetHostnameV1
- VPS_restartVirtualMachineV1
- VPS_restoreBackupV1
- VPS_restoreSnapshotV1
- VPS_setHostnameV1
- VPS_setNameserversV1
- VPS_setPanelPasswordV1
- VPS_setRootPasswordV1
- VPS_setupNewVirtualMachineV1
- VPS_startRecoveryModeV1
- VPS_startVirtualMachineV1
- VPS_stopRecoveryModeV1
- VPS_stopVirtualMachineV1
- VPS_syncFirewallV1
- VPS_uninstallMonarxV1
- VPS_updateFirewallRuleV1
- VPS_updatePostInstallScriptV1
Related Tools
- @hostinger/api-mcp-server
- @hostinger/api-mcp-server
- @hostinger/api-mcp-server
- @hostinger/api-mcp-server
- @hostinger/api-mcp-server