post
https://api.linode.com//linode/stackscripts
Creates a StackScript in your Account.
Permissions and scopes
To call this operation, you need the following:
-
Identity and access permissions. Your user needs these roles assigned. Learn more.
- Roles:
account_stackscript_creator
- Roles:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
stackscripts:read_write
- Scopes:
CLI
linode-cli stackscripts create \
--label a-stackscript \
--description "This StackScript install and configures MySQL" \
--images "linode/debian13" \
--images "linode/debian13" \
--is_public true \
--rev_note "Set up MySQL" \
--script '#!/bin/bash'