2015-08-25 22:14:16 +03:00
|
|
|
|
|
|
|
# today
|
|
|
|
|
|
|
|
|
2015-08-26 01:47:29 +03:00
|
|
|
triton create # triton create-instance
|
2015-08-25 22:14:16 +03:00
|
|
|
triton create -p PKG [...] IMG
|
|
|
|
triton create -i IMG -p PKG [-n NAME] [...]
|
|
|
|
# example: triton create base64 -p t4-standard-1g
|
|
|
|
|
2015-08-26 02:19:19 +03:00
|
|
|
triton image NAME|SUBSTRING
|
|
|
|
triton package NAME|SUBSTRING
|
|
|
|
|
2015-08-25 22:14:16 +03:00
|
|
|
|
2015-08-26 01:47:29 +03:00
|
|
|
# DONE
|
|
|
|
|
|
|
|
triton
|
|
|
|
triton -v # bunyan trace logging
|
|
|
|
triton images # list images
|
|
|
|
triton image IMAGE # get image
|
2015-08-26 02:19:19 +03:00
|
|
|
triton packages # list packages
|
|
|
|
triton package PACKAGE
|
|
|
|
|
2015-08-26 06:53:48 +03:00
|
|
|
triton instances|insts # list machines
|
|
|
|
triton instance|inst ID|NAME # get machine
|
2015-08-26 01:47:29 +03:00
|
|
|
|
2015-08-26 06:53:48 +03:00
|
|
|
triton cloudapi ...
|
2015-08-25 22:14:16 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# maybe today
|
|
|
|
|
|
|
|
triton login|ssh VM # kexec?
|
|
|
|
|
|
|
|
triton delete VM|IMAGE # substring matching? too dangerous
|
|
|
|
triton delete --vm VM
|
|
|
|
triton delete --image IMAGE
|
|
|
|
|
2015-08-26 00:25:30 +03:00
|
|
|
"shortid" instead of full UUID "id" in default output, and then allow lookup
|
|
|
|
by that shortid. Really nice for 80 columns.
|
|
|
|
|
|
|
|
triton images
|
|
|
|
Drop 'state' in default columns. Add type to be able to see lx or not
|
|
|
|
for 'linux' ones. That might hit that stupid naming problem.
|
2015-08-25 22:14:16 +03:00
|
|
|
|
|
|
|
|
|
|
|
# profiles
|
|
|
|
|
|
|
|
triton profile # list all profiles
|
|
|
|
triton profile NAME # show NAME profile
|
|
|
|
triton profile -a NAME # sets it as active
|
|
|
|
triton profile -n|--new # ???
|
|
|
|
|
|
|
|
For today: only the implicit 'env' profile.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# config
|
|
|
|
|
|
|
|
~/.triton/
|
|
|
|
config.json
|
|
|
|
{"currProfile": "east3b"}
|
|
|
|
east3b/ # profile
|
|
|
|
PROFILE2/
|
|
|
|
...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# another day
|
|
|
|
|
|
|
|
triton config get|set|list # see 'npm config'
|
|
|
|
|
2015-08-26 01:47:29 +03:00
|
|
|
triton --shell # or whatever, repl
|