~ubuntu-branches/ubuntu/saucy/maas/saucy

« back to all changes in this revision

Viewing changes to docs/juju-quick-start.rst

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2013-07-18 10:15:10 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20130718101510-vxteson11r5fffhn
Tags: 1.4+bzr1548+dfsg-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
One hard and fast rule is that you'll need to use a different API key
22
22
for each Juju *environment* you set up within a single MAAS cluster.
23
23
 
24
 
You'll also need to add an SSH key to MAAS so that you, and Juju, can
25
 
SSH into freshly provisioned machines.
 
24
There is no need to explicitly add an SSH key to MAAS when using Juju;
 
25
it will automatically put your public key on any hosts that it starts up.
 
26
 
 
27
**Note**: You do not need to use the MAAS web UI or API to allocate
 
28
a node to yourself, Juju will do this for you.
26
29
 
27
30
 
28
31
Getting a key
59
62
  environments:
60
63
    maas:
61
64
      type: maas
62
 
      maas-server: 'http://localhost/MAAS'
 
65
      maas-server: 'http://${my-maas-server}:80/MAAS'
63
66
      maas-oauth: '${maas-api-key}'
64
 
      admin-secret: 'nothing'
 
67
      admin-secret: ${your-admin-secret}
 
68
      default-series: precise
65
69
 
66
70
Substitute the API key from earlier into the ``${maas-api-key}``
 
71
slot, and the hostname of your MAAS server into the ``${my-maas-server}``
67
72
slot.
68
73
 
 
74
The ``${your-admin-secret}`` slot should be replaced with a random pass-phrase,
 
75
there is no default.
 
76
 
69
77
 
70
78
Now Juju
71
79
--------