Skip to content

Instantly share code, notes, and snippets.

@AlainODea
Last active December 16, 2015 00:49
Show Gist options
  • Save AlainODea/5350351 to your computer and use it in GitHub Desktop.
Save AlainODea/5350351 to your computer and use it in GitHub Desktop.
Setup script for Joyent CloudAPI on a SmartMachine
if [ ! "$SSH_AUTH_SOCK" ]; then
eval $(ssh-agent)
ssh-add "$SDC_CLI_IDENTITY"
fi
export SDC_CLI_URL=https://api.joyentcloud.com/
export [email protected]
export SDC_CLI_KEY_ID=2125deb3-72f2-4639-a2c2-97769742ead5
export SDC_CLI_IDENTITY=/root/.ssh/2125deb3-72f2-4639-a2c2-97769742ead5
pkgin update
pkgin upgrade
pkgin install build-essential
npm install smartdc -g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment