~rackspace-titan/nova/api-profiling

« back to all changes in this revision

Viewing changes to nova/flags.py

  • Committer: Tarmac
  • Author(s): Rick Harris
  • Date: 2011-06-17 01:21:44 UTC
  • mfrom: (1187.1.1 lp798296)
  • Revision ID: tarmac-20110617012144-6ihg5ikwqotg77xv
Make $my_ip Glance's default host, not localhost.

Show diffs side-by-side

added added

removed removed

Lines of Context:
272
272
DEFINE_string('aws_secret_access_key', 'admin', 'AWS Access Key')
273
273
# NOTE(sirp): my_ip interpolation doesn't work within nested structures
274
274
DEFINE_list('glance_api_servers',
275
 
            ['127.0.0.1:9292'],
 
275
            ['%s:9292' % _get_my_ip()],
276
276
            'list of glance api servers available to nova (host:port)')
277
277
DEFINE_integer('s3_port', 3333, 's3 port')
278
278
DEFINE_string('s3_host', '$my_ip', 's3 host (for infrastructure)')