· 8 years ago · Jul 05, 2017, 07:54 AM
1# use-floating-ip specifies whether a floating IP address is
2 # required to give the nodes a public IP address. Some
3 # installations assign public IP addresses by default without
4 # requiring a floating IP address.
5 #
6 use-floating-ip: true
7
8 # use-default-secgroup specifies whether new machine instances
9 # should have the "default" Openstack security group assigned.
10 #
11 use-default-secgroup: true
12
13 # network specifies the network label or uuid to bring machines up
14 # on, in the case where multiple networks exist. It may be omitted
15 # otherwise.
16 #
17 # network: 3db0da69-c062-48a3-b441-98308161d779
18
19 # agent-metadata-url specifies the location of the Juju tools and
20 # metadata. It defaults to the global public tools metadata
21 # location https://streams.canonical.com/tools.
22 # 'http://controller:8080/v1/AUTH_%(tenant_id)s/simplestreams/tools/'
23 agent-metadata-url: 'http://controller:8080/v1/AUTH_%(tenant_id)s/simplestreams/tools/'
24
25 # image-metadata-url specifies the location of Ubuntu cloud image
26 # metadata. It defaults to the global public image metadata
27 # location https://cloud-images.ubuntu.com/releases.
28 #'http://controller:8080/v1/AUTH_%(tenant_id)s/simplestreams/images/'
29 image-metadata-url: 'http://controller:8080/v1/AUTH_%(tenant_id)s/simplestreams/images/'
30
31 # image-stream chooses a simplestreams stream from which to select
32 # OS images, for example daily or released images (or any other stream
33 # available on simplestreams).
34 #
35 image-stream: "released"
36
37 # agent-stream chooses a simplestreams stream from which to select tools,
38 # for example released or proposed tools (or any other stream available
39 # on simplestreams).
40 #
41 agent-stream: "released"
42
43 # auth-url defaults to the value of the environment variable
44 # OS_AUTH_URL, but can be specified here.
45 #
46 auth-url: http://controller:5000/v2.0
47
48 # tenant-name holds the openstack tenant name. It defaults to the
49 # environment variable OS_TENANT_NAME.
50 #
51 tenant-name: demo
52
53 # region holds the openstack region. It defaults to the
54 # environment variable OS_REGION_NAME.
55 #
56 region: regionOne
57
58 # The auth-mode, username and password attributes are used for
59 # userpass authentication (the default).
60 #
61 # auth-mode holds the authentication mode. For user-password
62 # authentication, auth-mode should be "userpass" and username and
63 # password should be set appropriately; they default to the
64 # environment variables OS_USERNAME and OS_PASSWORD respectively.
65 #
66 auth-mode: userpass
67 username: demo
68 password: ***********
69
70 # For key-pair authentication, auth-mode should be "keypair" and
71 # access-key and secret-key should be set appropriately; they
72 # default to the environment variables OS_ACCESS_KEY and
73 # OS_SECRET_KEY respectively.
74 #
75 # auth-mode: keypair
76 # access-key: <secret>
77 # secret-key: <secret>
78
79 # Whether or not to refresh the list of available updates for an
80 # OS. The default option of true is recommended for use in
81 # production systems, but disabling this can speed up local
82 # deployments for development or testing.
83 #
84 enable-os-refresh-update: false
85
86 # Whether or not to perform OS upgrades when machines are
87 # provisioned. The default option of true is recommended for use
88 # in production systems, but disabling this can speed up local
89 # deployments for development or testing.
90 #
91 enable-os-upgrade: false
92
93# https://juju.ubuntu.com/docs/config-hpcloud.html