~ubuntu-branches/ubuntu/precise/python-novaclient/precise

« back to all changes in this revision

Viewing changes to docs/shell.rst

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-08-02 14:28:50 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110802142850-b98ntnbobuwiapu3
Tags: 2.5.9~bzr65-0ubuntu1
* New upstream release.
* debian/watch: Add url for python-novaclient.
* dh_python2 transition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
by using the `nova-manage` command in OpenStack Nova.
12
12
 
13
13
You'll need to provide :program:`nova` with your OpenStack username and
14
 
API key. You can do this with the :option:`--username` and :option:`--apikey`
15
 
options, but it's easier to just set them as environment variables by setting
16
 
two environment variables:
 
14
API key. You can do this with the :option:`--username`, :option:`--apikey`
 
15
and :option:`--projectid` options, but it's easier to just set them as 
 
16
environment variables by setting two environment variables:
17
17
 
18
18
.. envvar:: NOVA_USERNAME
19
19
 
23
23
 
24
24
    Your API key.
25
25
 
 
26
.. envvar:: NOVA_PROJECT_ID
 
27
 
 
28
    Project for work.
 
29
 
26
30
.. envvar:: NOVA_URL
27
31
 
28
32
    The OpenStack API server URL.
31
35
 
32
36
    export NOVA_USERNAME=yourname
33
37
    export NOVA_API_KEY=yadayadayada
 
38
    export NOVA_PROJECT_ID=myproject
34
39
    export NOVA_URL=http://...
35
40
    
36
41
From there, all shell commands take the form::