Copyright 2013 ProfitBricks GmbH Version 1.2.4 released Jul 30th 2013
- Git sources: git://github.com/profitbricks/ProfitBricks-CLI-API.git
- Zip sources: https://github.com/profitbricks/ProfitBricks-CLI-API/zipball/master
You will need python and python-setuptools. Run 'easy_install suds' to install the required Suds library.
Install the 'python-setuptools' package using your distribution package manager
Download and install the .rpm or .deb package for your system from: https://github.com/profitbricks/ProfitBricks-CLI-API/downloads
Install Python-2.7.3 (must be 32-bit!) from: http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi
Install setuptools-0.6c11 from: http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11.win32-py2.7.exe
Open a cmd window to C:\Python27\Scripts and run: easy_install suds
Download and decompress the application from the .zip sources: https://github.com/profitbricks/ProfitBricks-CLI-API/zipball/master
Note: A .msi installer is on it's way!
To automate authentication, you can create a file named default.auth and place it in your current directory. Write the ProfitBricks user name on the first line and the password on the second line. If you do this, be careful and set proper file permissions so other users of the system won't read your login information! In Linux/Unix you would run this command in a terminal: chmod 0600 default.auth
The pbcli application provides a friendly console, giving you four powerful commands, tab completion (for commands and data center ids), and command history (only for active session).
- 'help' opens the manual page on Unix/Linux
- 'list' shows all available commands
- 'use data-center-id' sets a default data center (the -dcid argument) for the current session.
'wait' will wait for active data center provisioning after each command (disable using 'nowait')
We are working on creating repositories so you will get updates the same way you get your other application updates (using the package manager on Unix/Linux).
Email all support related questions to email@example.com