Create a StackScript

Creates a StackScript in your Account.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Roles: account_stackscript_creator
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: stackscripts:read_write

CLI

linode-cli stackscripts create \
  --label a-stackscript \
  --description "This StackScript install and configures MySQL" \
  --images "linode/debian9" \
  --images "linode/debian8" \
  --is_public true \
  --rev_note "Set up MySQL" \
  --script '#!/bin/bash'

Learn more

Language
Credentials