Ubuntu Pastebin

Paste from Nate at Mon, 24 Oct 2016 19:12:08 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
$ juju add-cloud
Cloud Types
  maas
  openstack

Select a cloud type: openstack

Enter a name for the cloud: os1

Auth Types
  oauth1
  oauth2
  access-key
  userpass

Select one or more auth types separated by commas: oauth2, user-pass
Invalid option: "user-pass"

Select one or more auth types separated by commas: oauth2, userpass

Enter region name: foo

Enter the API endpoint url for the region: https://goo.com

Enter another region? (Y/n): 

Enter region name: bar           

Enter the API endpoint url for the region: http://bar.com

Enter another region? (Y/n): n

$ more ~/.local/share/juju/clouds.yaml 
clouds:
  os1:
    type: openstack
    auth-types: [oauth2, userpass]
    regions:
      bar:
        endpoint: http://bar.com
      foo:
        endpoint: https://goo.com
Download as text