Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1 KB

File metadata and controls

37 lines (24 loc) · 1 KB

hapi vps post-install-scripts create

Create post-install script

Synopsis

Add a new post-install script to your account, which can then be used after virtual machine installation.

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.

Use this endpoint to create automation scripts for VPS setup tasks.

hapi vps post-install-scripts create [flags]

Options

      --content string   Content of the script
  -h, --help             help for create
      --name string      Name of the script

Options inherited from parent commands

      --config string   Config file (default is $HOME/.hapi.yaml)
      --format string   Output format type (json|table|tree), default: table

SEE ALSO